gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r36916 - in libmicrohttpd: . src/include


From: gnunet
Subject: [GNUnet-SVN] r36916 - in libmicrohttpd: . src/include
Date: Mon, 22 Feb 2016 14:56:26 +0100

Author: grothoff
Date: 2016-02-22 14:56:26 +0100 (Mon, 22 Feb 2016)
New Revision: 36916

Modified:
   libmicrohttpd/configure.ac
   libmicrohttpd/src/include/platform.h
Log:
-fix as suggested by EG

Modified: libmicrohttpd/configure.ac
===================================================================
--- libmicrohttpd/configure.ac  2016-02-22 09:34:46 UTC (rev 36915)
+++ libmicrohttpd/configure.ac  2016-02-22 13:56:26 UTC (rev 36916)
@@ -148,6 +148,7 @@
      AC_DEFINE_UNQUOTED(OSX,1,[This is an OS X system])
      CFLAGS="-no-cpp-precomp -fno-common $CFLAGS"
      mhd_host_os='Darwin'
+     shutdown_trig_select='yes'
      AC_MSG_RESULT([[$mhd_host_os]])
      ;;
 freebsd*)
@@ -154,6 +155,7 @@
      AC_DEFINE_UNQUOTED(SOMEBSD,1,[This is a BSD system])
      AC_DEFINE_UNQUOTED(FREEBSD,1,[This is a FreeBSD system])
      mhd_host_os='FreeBSD'
+     shutdown_trig_select='yes'
      AC_MSG_RESULT([[$mhd_host_os]])
      ;;
 openbsd*)
@@ -493,7 +495,7 @@
              extern "C"
              #endif
              struct tm* gmtime_s(const time_t* time, struct tm* result);
-           ]], [[ 
+           ]], [[
              struct tm res;
              time_t t;
              gmtime_s (&t, &res);
@@ -513,7 +515,7 @@
                  extern "C"
                  #endif
                  errno_t gmtime_s(struct tm* _tm, const time_t* time);
-              ]], [[ 
+              ]], [[
                  struct tm res;
                  time_t t;
                  gmtime_s (&res, &t);
@@ -526,7 +528,7 @@
             [AC_MSG_RESULT([[no]])
             ])
         ])
-  ], [], 
+  ], [],
   [[#define __STDC_WANT_LIB_EXT1__ 1
     #include<time.h>]])
 

Modified: libmicrohttpd/src/include/platform.h
===================================================================
--- libmicrohttpd/src/include/platform.h        2016-02-22 09:34:46 UTC (rev 
36915)
+++ libmicrohttpd/src/include/platform.h        2016-02-22 13:56:26 UTC (rev 
36916)
@@ -34,7 +34,10 @@
 #ifndef MHD_PLATFORM_H
 #define MHD_PLATFORM_H
 
+#ifndef HAVE_USED_MHD_CONFIG_H
+#define HAVE_USED_MHD_CONFIG_H
 #include "MHD_config.h"
+#endif
 
 #ifndef BUILDING_MHD_LIB
 #ifdef _MHD_EXTERN
@@ -43,7 +46,7 @@
 #if defined(_WIN32) && defined(MHD_W32LIB)
 #define _MHD_EXTERN extern
 #elif defined (_WIN32) && defined(MHD_W32DLL)
-#define _MHD_EXTERN __declspec(dllimport) 
+#define _MHD_EXTERN __declspec(dllimport)
 #else
 #define _MHD_EXTERN extern
 #endif
@@ -51,7 +54,7 @@
 #if defined(_WIN32) && defined(MHD_W32LIB)
 #define _MHD_EXTERN extern
 #elif defined (_WIN32) && defined(MHD_W32DLL)
-#define _MHD_EXTERN extern __declspec(dllexport) 
+#define _MHD_EXTERN extern __declspec(dllexport)
 #else
 #define _MHD_EXTERN extern
 #endif




reply via email to

[Prev in Thread] Current Thread [Next in Thread]