mirror of
https://github.com/RPCS3/hidapi.git
synced 2026-01-31 01:25:21 +01:00
Change windows/hid.cpp to windows/hid.c
The changes to make it compile with just C (not C++) are already in.
This commit is contained in:
@@ -183,7 +183,7 @@
|
||||
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\windows\hid.cpp"
|
||||
RelativePath="..\windows\hid.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
|
||||
@@ -10,8 +10,8 @@ all: hidtest
|
||||
|
||||
CC=gcc
|
||||
CXX=g++
|
||||
COBJS=
|
||||
CPPOBJS=../hidtest/hidtest.o hid.o
|
||||
COBJS=hid.o
|
||||
CPPOBJS=../hidtest/hidtest.o
|
||||
OBJS=$(COBJS) $(CPPOBJS)
|
||||
CFLAGS=-I../hidapi -g -c
|
||||
LIBS= -lsetupapi
|
||||
|
||||
@@ -13,7 +13,7 @@ TARGETLIBS=$(SDK_LIB_PATH)\hid.lib \
|
||||
USE_MSVCRT=1
|
||||
|
||||
INCLUDES= ..\..\hidapi
|
||||
SOURCES= ..\hid.cpp \
|
||||
SOURCES= ..\hid.c \
|
||||
|
||||
|
||||
TARGET_DESTINATION=retail
|
||||
|
||||
@@ -175,7 +175,7 @@
|
||||
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\hid.cpp"
|
||||
RelativePath=".\hid.c"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
|
||||
Reference in New Issue
Block a user