Changeset 367 in Main


Ignore:
Timestamp:
Oct 17, 2024, 1:22:49 PM (4 weeks ago)
Author:
Nishi
Message:

some fix

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Module/mod_cgi.c

    r315 r367  
    2323}
    2424
    25 #ifdef __NETWARE__
    26 int main() { return 0; }
    27 #endif
     25END_MODULE
  • trunk/Module/mod_example.c

    r315 r367  
    1414int MODULE_DECL mod_request(struct tw_tool* tools, struct tw_http_request* req, struct tw_http_response* res) { return TW_MODULE_ERROR(403); }
    1515
    16 #ifdef __NETWARE__
    17 int main() { return 0; }
    18 #endif
     16END_MODULE
  • trunk/Module/mod_proxy.c

    r315 r367  
    1515int MODULE_DECL mod_request(struct tw_tool* tools, struct tw_http_request* req, struct tw_http_response* res) { return TW_MODULE_PASS; }
    1616
    17 #ifdef __NETWARE__
    18 int main() { return 0; }
    19 #endif
     17END_MODULE
  • trunk/Server/tw_module.h

    r315 r367  
    1010#include "tw_config.h"
    1111#include "tw_http.h"
     12
     13#ifdef __NETWARE__
     14#include <nwconio.h>
     15#define END_MODULE int main(){DestroyScreen(GetCurrentScreen());while(1);return 0;}
     16#else
     17#define END_MODULE
     18#endif
    1219
    1320#if defined(__OS2__)
Note: See TracChangeset for help on using the changeset viewer.