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:
Alan Ott
2011-09-22 18:59:33 -04:00
parent 6a44b8772c
commit 4419c3bdf4
5 changed files with 5 additions and 5 deletions

View File

@@ -183,7 +183,7 @@
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath="..\windows\hid.cpp"
RelativePath="..\windows\hid.c"
>
</File>
<File

View 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

View File

@@ -13,7 +13,7 @@ TARGETLIBS=$(SDK_LIB_PATH)\hid.lib \
USE_MSVCRT=1
INCLUDES= ..\..\hidapi
SOURCES= ..\hid.cpp \
SOURCES= ..\hid.c \
TARGET_DESTINATION=retail

View File

@@ -175,7 +175,7 @@
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath=".\hid.cpp"
RelativePath=".\hid.c"
>
</File>
</Filter>