Browse Source

make tm_zone etc visible under _GNU_SOURCE

rofl0r 11 years ago
parent
commit
da144eec54
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/time.h

+ 1 - 1
include/time.h

@@ -39,7 +39,7 @@ struct tm
 	long __tm_gmtoff;
 	const char *__tm_zone;
 };
-#if defined(_BSD_SOURCE)
+#if defined(_BSD_SOURCE) || defined(_GNU_SOURCE)
 #define tm_gmtoff __tm_gmtoff
 #define tm_zone __tm_zone
 #endif