Subversion Repositories Tewi

Rev

Rev 215 | Rev 219 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 215 Rev 217
Line 1... Line 1...
1
/* $Id: module.c 215 2024-10-02 19:24:43Z nishi $ */
1
/* $Id: module.c 217 2024-10-02 19:50:16Z nishi $ */
2
 
2
 
3
#define SOURCE
3
#define SOURCE
4
 
4
 
5
#include "tw_module.h"
5
#include "tw_module.h"
6
 
6
 
Line 26... Line 26...
26
 
26
 
27
#else
27
#else
28
 
28
 
29
#if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__)
29
#if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__)
30
#include <windows.h>
30
#include <windows.h>
-
 
31
#include <direct.h>
31
#else
32
#else
32
#include <dlfcn.h>
33
#include <dlfcn.h>
33
#endif
34
#endif
34
 
35
 
35
void* tw_module_load(const char* path) {
36
void* tw_module_load(const char* path) {