Change #define from GUNC to GNUC.

This commit is contained in:
bossiel 2010-05-04 13:32:00 +00:00
parent 7f36f09707
commit 221daebd6b
3 changed files with 3 additions and 3 deletions

View File

@ -460,7 +460,7 @@ int64_t tsk_atoll(const char* str)
if(str){
#if defined(_MSC_VER)
return _atoi64(str);
#elif defined(__GUNC__)
#elif defined(__GNUC__)
return atoll(str);
#else
return atol(str);

View File

@ -169,7 +169,7 @@ static tsk_object_t* tsip_header_Date_ctor(tsk_object_t *self, va_list * app)
Date->wkday = tsk_strdup(wkday);
Date->month = tsk_strdup(month);
#if defined __GUNC__
#if defined __GNUC__
Date->day = (int8_t)va_arg(*app, int);
Date->year = (int16_t)va_arg(*app, int);
Date->time.h = (int8_t)va_arg(*app, int);

View File

@ -414,7 +414,7 @@ static tsk_object_t* tsip_header_Date_ctor(tsk_object_t *self, va_list * app)
Date->wkday = tsk_strdup(wkday);
Date->month = tsk_strdup(month);
#if defined __GUNC__
#if defined __GNUC__
Date->day = (int8_t)va_arg(*app, int);
Date->year = (int16_t)va_arg(*app, int);
Date->time.h = (int8_t)va_arg(*app, int);