Changeset 314 in Main for trunk/Server


Ignore:
Timestamp:
Oct 14, 2024, 4:37:04 PM (5 weeks ago)
Author:
Nishi
Message:

module works

Location:
trunk/Server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Server/server.c

    r312 r314  
    629629#endif
    630630                for(i = 0; i < config.module_count; i++) {
     631#ifdef __OS2__
     632                        tw_mod_request_t mod_req = (tw_mod_request_t)tw_module_symbol(config.modules[i], "MOD_REQUEST");
     633#else
    631634                        tw_mod_request_t mod_req = (tw_mod_request_t)tw_module_symbol(config.modules[i], "mod_request");
     635#endif
    632636                        if(mod_req != NULL) {
    633637                                int ret = mod_req(&tools, &req, &res);
  • trunk/Server/tw_module.h

    r313 r314  
    1515#define INCL_DOSERRORS
    1616#include <os2.h>
    17 #define MODULE_DECL APIENTRY
     17#define MODULE_DECL __export APIENTRY
    1818#else
    1919#define MODULE_DECL
Note: See TracChangeset for help on using the changeset viewer.