base
This commit is contained in:
+38
@@ -0,0 +1,38 @@
|
||||
/* (c) D.Souflis dsouflis@acm.org */
|
||||
|
||||
#ifndef _WINSTUBDL_H
|
||||
#define _WINSTUBDL_H
|
||||
/*
|
||||
#ifdef WIN32
|
||||
# define WIN32DLL_DEFINE __declspec( dllexport)
|
||||
#else
|
||||
# define WIN32DLL_DEFINE
|
||||
#endif
|
||||
*/
|
||||
# define WIN32DLL_DEFINE
|
||||
|
||||
#ifdef WIN32_DLOPEN
|
||||
#include <windows.h>
|
||||
#ifndef RTLD_LAZY
|
||||
# define RTLD_LAZY 1
|
||||
#endif
|
||||
void *dlopen(const char *module, int unused);
|
||||
void* dlsym(void* mo, const char *proc);
|
||||
void dlclose(void* mo);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define STDC_HEADERS
|
||||
//#define HAVE_STRINGS_H
|
||||
//#define HAVE_UNISTD_H
|
||||
//#define HAVE_SYS_ENDIAN_H
|
||||
//#define HAVE_MACHINE_ENDIAN_H
|
||||
//#define HAVE_ENDIAN_H
|
||||
//#define HAVE_BYTESWAP_H
|
||||
//#define HAVE_DIRENT_H
|
||||
#define SIZEOF_UNSIGNED_INT 4
|
||||
#define SIZEOF_UNSIGNED_SHORT_INT 2
|
||||
#define SIZEOF_UNSIGNED_CHAR 1
|
||||
#define HAVE_MEMSET
|
||||
#define HAVE_MEMMOVE
|
||||
Reference in New Issue
Block a user