Changeset 364 for trunk/zoo-project/zoo-kernel/zoo_loader.c
- Timestamp:
- Sep 29, 2012, 3:59:06 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/zoo_loader.c
r348 r364 26 26 #define MALLOC_CHECK 0 27 27 28 #ifdef WIN3229 #include "windows.h"30 #endif31 28 /** 32 29 * Specific includes 33 30 */ 31 #ifndef WIN32 34 32 #include "fcgio.h" 35 33 #include "fcgi_config.h" 36 34 #include "fcgi_stdio.h" 35 #endif 37 36 #include <sys/types.h> 38 37 #include <unistd.h> 39 38 #include "service_internal.h" 39 #ifdef WIN32 40 #include "windows.h" 41 #define strtok_r strtok_s 42 #endif 40 43 41 44 extern "C" { … … 55 58 using namespace std; 56 59 60 #ifndef TRUE 57 61 #define TRUE 1 62 #endif 63 #ifndef FALSE 58 64 #define FALSE -1 65 #endif 59 66 60 67 int cgiMain(){ … … 68 75 fprintf(cgiOut,"Welcome on ZOO verbose debuging mode \r\n\r\n"); 69 76 fflush(cgiOut); 70 #endif71 72 #ifdef DEBUG73 77 fprintf (stderr, "Addr:%s\n", cgiRemoteAddr); 74 78 fprintf (stderr, "RequestMethod: (%s) %d %d\n", cgiRequestMethod,strncasecmp(cgiRequestMethod,"post",4),strncmp(cgiContentType,"text/xml",8)==0 || strncasecmp(cgiRequestMethod,"post",4)==0); … … 143 147 } 144 148 else{ 149 #ifdef DEBUG 145 150 dumpMap(tmpMap); 151 #endif 146 152 char **array, **arrayStep; 147 153 if (cgiFormEntries(&array) != cgiFormSuccess) {
Note: See TracChangeset
for help on using the changeset viewer.