This way it should be more portable...
This commit is contained in:
parent
c7a41238d4
commit
99bd4b886f
@ -47,8 +47,8 @@ LIBEXT=.a
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
CFLAGS+=-s -funsigned-char $(INCS) -Wall -Wno-sign-compare -pedantic -O2# -fomit-frame-pointer
|
||||
LNKFLAGS+=-s
|
||||
CFLAGS+=-g -funsigned-char $(INCS) -Wall -Wno-sign-compare -pedantic -O2# -fomit-frame-pointer
|
||||
LNKFLAGS+=-g
|
||||
CPPFLAGS+=$(CFLAGS) -fno-exceptions -fno-rtti
|
||||
|
||||
# comment following lines if you dislike ncurses
|
||||
|
@ -137,7 +137,7 @@ inline Clock gclock() { return Clock(clock()*10/CLK_TCK); }
|
||||
int str2mon(const char* ptr) __attribute__ ((const));
|
||||
int tzoffset();
|
||||
|
||||
char* strftimei(char* s, size_t maxsize, const char* fmt, const struct tm* t) __attribute__ ((format (strftime, 3, 0)));
|
||||
char* strftimei(char* s, size_t maxsize, const char* fmt, const struct tm* t); // __attribute__ ((format (strftime, 3, 0)));
|
||||
|
||||
FTime TimeToFTime(time_t __time) __attribute__ ((const));
|
||||
time_t FTimeToTime(FTime* __ftime, struct tm* __tm=NULL);
|
||||
|
Reference in New Issue
Block a user