#warning isn't portable, check for gcc

-Yosh
This commit is contained in:
Manish Singh 1999-01-12 17:58:26 +00:00
parent 3ed6ad5a17
commit bf5993b9bb
10 changed files with 34 additions and 2 deletions

View File

@ -1,3 +1,7 @@
Tue Jan 12 09:57:06 PST 1999 Manish Singh <yosh@gimp.org>
* gdate.c: #warning isn't portable, check for gcc
1999-01-12 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gdate.c: Include config.h to get HAVE_LOCALTIME_R macro.

View File

@ -1,3 +1,7 @@
Tue Jan 12 09:57:06 PST 1999 Manish Singh <yosh@gimp.org>
* gdate.c: #warning isn't portable, check for gcc
1999-01-12 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gdate.c: Include config.h to get HAVE_LOCALTIME_R macro.

View File

@ -1,3 +1,7 @@
Tue Jan 12 09:57:06 PST 1999 Manish Singh <yosh@gimp.org>
* gdate.c: #warning isn't portable, check for gcc
1999-01-12 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gdate.c: Include config.h to get HAVE_LOCALTIME_R macro.

View File

@ -1,3 +1,7 @@
Tue Jan 12 09:57:06 PST 1999 Manish Singh <yosh@gimp.org>
* gdate.c: #warning isn't portable, check for gcc
1999-01-12 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gdate.c: Include config.h to get HAVE_LOCALTIME_R macro.

View File

@ -1,3 +1,7 @@
Tue Jan 12 09:57:06 PST 1999 Manish Singh <yosh@gimp.org>
* gdate.c: #warning isn't portable, check for gcc
1999-01-12 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gdate.c: Include config.h to get HAVE_LOCALTIME_R macro.

View File

@ -1,3 +1,7 @@
Tue Jan 12 09:57:06 PST 1999 Manish Singh <yosh@gimp.org>
* gdate.c: #warning isn't portable, check for gcc
1999-01-12 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gdate.c: Include config.h to get HAVE_LOCALTIME_R macro.

View File

@ -1,3 +1,7 @@
Tue Jan 12 09:57:06 PST 1999 Manish Singh <yosh@gimp.org>
* gdate.c: #warning isn't portable, check for gcc
1999-01-12 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gdate.c: Include config.h to get HAVE_LOCALTIME_R macro.

View File

@ -1,3 +1,7 @@
Tue Jan 12 09:57:06 PST 1999 Manish Singh <yosh@gimp.org>
* gdate.c: #warning isn't portable, check for gcc
1999-01-12 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gdate.c: Include config.h to get HAVE_LOCALTIME_R macro.

View File

@ -801,7 +801,7 @@ g_date_set_time (GDate *d,
#ifdef HAVE_LOCALTIME_R
localtime_r (&t, &tm);
#else
# ifdef G_THREADS_ENABLED
# if defined(G_THREADS_ENABLED) && defined(__GNUC__)
# warning "the `g_date_set_time' function will not be MT-safe"
# warning "because there is no `localtime_r' on your system."
# endif

View File

@ -801,7 +801,7 @@ g_date_set_time (GDate *d,
#ifdef HAVE_LOCALTIME_R
localtime_r (&t, &tm);
#else
# ifdef G_THREADS_ENABLED
# if defined(G_THREADS_ENABLED) && defined(__GNUC__)
# warning "the `g_date_set_time' function will not be MT-safe"
# warning "because there is no `localtime_r' on your system."
# endif