|
|
@ -61,7 +61,6 @@ GNU General Public License for more details. |
|
|
|
#define _mkdir( x ) mkdir( x, S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH ) |
|
|
|
#define _mkdir( x ) mkdir( x, S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH ) |
|
|
|
#define LoadLibrary( x ) dlopen( x, RTLD_NOW ) |
|
|
|
#define LoadLibrary( x ) dlopen( x, RTLD_NOW ) |
|
|
|
#define GetProcAddress( x, y ) dlsym( x, y ) |
|
|
|
#define GetProcAddress( x, y ) dlsym( x, y ) |
|
|
|
#define SetCurrentDirectory( x ) (!chdir( x )) |
|
|
|
|
|
|
|
#define FreeLibrary( x ) dlclose( x ) |
|
|
|
#define FreeLibrary( x ) dlclose( x ) |
|
|
|
#define tell( a ) lseek(a, 0, SEEK_CUR) |
|
|
|
#define tell( a ) lseek(a, 0, SEEK_CUR) |
|
|
|
#define HAVE_DUP |
|
|
|
#define HAVE_DUP |
|
|
@ -72,7 +71,6 @@ GNU General Public License for more details. |
|
|
|
#define LoadLibrary( x ) (0) |
|
|
|
#define LoadLibrary( x ) (0) |
|
|
|
#define GetProcAddress( x, y ) (0) |
|
|
|
#define GetProcAddress( x, y ) (0) |
|
|
|
#define FreeLibrary( x ) (0) |
|
|
|
#define FreeLibrary( x ) (0) |
|
|
|
#define SetCurrentDirectory( x ) (!chdir( x )) |
|
|
|
|
|
|
|
#endif |
|
|
|
#endif |
|
|
|
//#define MAKEWORD( a, b ) ((short int)(((unsigned char)(a))|(((short int)((unsigned char)(b)))<<8)))
|
|
|
|
//#define MAKEWORD( a, b ) ((short int)(((unsigned char)(a))|(((short int)((unsigned char)(b)))<<8)))
|
|
|
|
#define max( a, b ) (((a) > (b)) ? (a) : (b)) |
|
|
|
#define max( a, b ) (((a) > (b)) ? (a) : (b)) |
|
|
|