Fix GLee.cpp → GLee.c in Linux and Windows build scripts.

And LPTCSTR → LPCTSTR in some Windows file, apparently LPTCSTR wasn't similar enough for it to compile, closes ticket:2428.
master
Cyp 2010-12-21 22:10:46 +01:00
parent 0c898fb097
commit 0a064c2470
5 changed files with 5 additions and 5 deletions

View File

@ -67,7 +67,7 @@ noinst_HEADERS = \
noinst_LTLIBRARIES = libutil.la
libutil_la_SOURCES = \
../../framework/utf.cpp \
../../ivis_opengl/GLee.cpp
../../ivis_opengl/GLee.c
libutil_la_CPPFLAGS = $(SDL_CFLAGS) -DLIB_COMPILE=1
noinst_HEADERS += \

View File

@ -467,7 +467,7 @@ BOOL ImagehlpGetLineFromAddr(HANDLE hProcess, DWORD dwAddress, LPTSTR lpFileNam
assert(lpFileName && lpLineNumber);
lstrcpyn(lpFileName, (LPTCSTR)Line.FileName, nSize);
lstrcpyn(lpFileName, (LPCTSTR)Line.FileName, nSize);
*lpLineNumber = Line.LineNumber;
return TRUE;

View File

@ -22,7 +22,7 @@ libivis_opengl_a_SOURCES = \
textdraw.cpp
if !SYSTEM_GLEE
libivis_opengl_a_SOURCES += GLee.cpp
libivis_opengl_a_SOURCES += GLee.c
noinst_HEADERS += GLee.h
endif

View File

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

View File

@ -6,7 +6,7 @@ include $(top_srcdir)/makerules/common.mk
CPPFLAGS := $(CPPFLAGS) -I$(top_srcdir)/lib/ivis_opengl
SRC= \
GLee.cpp \
GLee.c \
ivi.cpp \
pieblitfunc.cpp \
piedraw.cpp \