Prechádzať zdrojové kódy

Merge branch 'master' of https://github.com/civetweb/civetweb

bel2125 6 rokov pred
rodič
commit
b5b560fcc9
2 zmenil súbory, kde vykonal 12 pridanie a 0 odobranie
  1. 8 0
      README.md
  2. 4 0
      src/civetweb.c

+ 8 - 0
README.md

@@ -62,6 +62,14 @@ A very brief overview can be found on GitHub Pages
 [http://civetweb.github.io/civetweb/](http://civetweb.github.io/civetweb/)
 
 
+Getting The Source
+------------------
+Download the source code by running the following code in your command prompt:
+
+$ git clone https://github.com/civetweb/civetweb.git
+or simply grab a copy of the source code as a Zip file.
+
+
 Quick start documentation
 --------------------------
 

+ 4 - 0
src/civetweb.c

@@ -59,6 +59,10 @@
 #if defined(__linux__) && !defined(_XOPEN_SOURCE)
 #define _XOPEN_SOURCE 600 /* For flockfile() on Linux */
 #endif
+#if defined(__LSB_VERSION__)
+#define NEED_TIMEGM
+#define NO_THREAD_NAME
+#endif
 #if !defined(_LARGEFILE_SOURCE)
 #define _LARGEFILE_SOURCE /* For fseeko(), ftello() */
 #endif