Skip to content

Commit

Permalink
Merge pull request cesanta#436 from jhnwkmn/no-cgi
Browse files Browse the repository at this point in the history
MONGOOSE_NO_CGI needs special handling.
  • Loading branch information
cpq committed Nov 9, 2014
2 parents 5a8c468 + 04a15a0 commit ea76de0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mongoose.c
Original file line number Diff line number Diff line change
Expand Up @@ -1320,13 +1320,15 @@ typedef pid_t process_id_t;
#define MONGOOSE_IDLE_TIMEOUT_SECONDS 300
#endif

#ifdef NS_DISABLE_SOCKETPAIR
#if defined(NS_DISABLE_SOCKETPAIR) && !defined(MONGOOSE_NO_CGI)
#define MONGOOSE_NO_CGI
#endif

#ifdef MONGOOSE_NO_FILESYSTEM
#define MONGOOSE_NO_AUTH
#if !defined(MONGOOSE_NO_CGI)
#define MONGOOSE_NO_CGI
#endif
#define MONGOOSE_NO_DAV
#define MONGOOSE_NO_DIRECTORY_LISTING
#define MONGOOSE_NO_LOGGING
Expand Down

0 comments on commit ea76de0

Please sign in to comment.