فهرست منبع

Need the timegm stub on Solaris

This is Solaris 10 and gcc 5.5.50 from opencsw.
Gábor Csárdi 5 سال پیش
والد
کامیت
92d3ec6da0
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/civetweb.c

+ 1 - 1
src/civetweb.c

@@ -59,7 +59,7 @@
 #if defined(__linux__) && !defined(_XOPEN_SOURCE)
 #if defined(__linux__) && !defined(_XOPEN_SOURCE)
 #define _XOPEN_SOURCE 600 /* For flockfile() on Linux */
 #define _XOPEN_SOURCE 600 /* For flockfile() on Linux */
 #endif
 #endif
-#if defined(__LSB_VERSION__)
+#if defined(__LSB_VERSION__) || defined(__sun)
 #define NEED_TIMEGM
 #define NEED_TIMEGM
 #define NO_THREAD_NAME
 #define NO_THREAD_NAME
 #endif
 #endif