Defines in the lpng makefile...
by James Urquhart · in Torque Game Engine · 08/28/2004 (5:34 am) · 0 replies
Hi there,
I was recently looking through the makefile's for the library targets, and i came across these rather odd defines in lib/targets.lpng.mk :
Notice that the "t" is not capitalized. I checked in the lpng source, and it seems to expect the whole of the define to be capitalized :
... which would mean that those define's don't work.
Of course, since torque doesn't blow up or anything, i'd assume that these defines are not absolutely critical to the operation of the png library... but still, its a bit inconsistent ;)
I was recently looking through the makefile's for the library targets, and i came across these rather odd defines in lib/targets.lpng.mk :
$(DIR.OBJ)/lpng$(EXT.LIB): CFLAGS+=-Ilpng -Izlib -DPNG_NO_READ_tIME -DPNG_NO_WRITE_tIME
Notice that the "t" is not capitalized. I checked in the lpng source, and it seems to expect the whole of the define to be capitalized :
// Ignore PNG time chunks #define PNG_NO_READ_TIME #define PNG_NO_WRITE_TIME
... which would mean that those define's don't work.
Of course, since torque doesn't blow up or anything, i'd assume that these defines are not absolutely critical to the operation of the png library... but still, its a bit inconsistent ;)
About the author