added more code for OS/2 file operations
This commit is contained in:
@ -45,13 +45,20 @@
|
||||
#if defined(_WIN32) && !defined(__MINGW32__)
|
||||
# if defined(QSE_CHAR_IS_MCHAR)
|
||||
# define qse_main main
|
||||
# define QSE_ACHAR_IS_MCHAR
|
||||
typedef qse_mchar_t qse_achar_t;
|
||||
# else
|
||||
# define qse_main wmain
|
||||
# define QSE_ACHAR_IS_WCHAR
|
||||
typedef qse_wchar_t qse_achar_t;
|
||||
# endif
|
||||
#elif defined(__OS2__)
|
||||
# define qse_main main
|
||||
# define QSE_ACHAR_IS_MCHAR
|
||||
typedef qse_mchar_t qse_achar_t;
|
||||
#else
|
||||
# define qse_main main
|
||||
# define QSE_ACHAR_IS_MCHAR
|
||||
typedef qse_mchar_t qse_achar_t;
|
||||
#endif
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: conf_msw.h 287 2009-09-15 10:01:02Z hyunghwan.chung $
|
||||
* $Id: conf_msw.h 397 2011-03-15 03:40:39Z hyunghwan.chung $
|
||||
*
|
||||
Copyright 2006-2009 Chung, Hyung-Hwan.
|
||||
This file is part of QSE.
|
||||
@ -45,7 +45,7 @@ _M_X64 x64 platform
|
||||
#define QSE_SIZEOF_LONG 4
|
||||
/*#endif*/
|
||||
|
||||
#if defined(__POCC__) || defined(__DMC__)
|
||||
#if defined(__POCC__) || defined(__DMC__) || defined(__GNUC__)
|
||||
/* pelles c with no microsoft extension */
|
||||
#define QSE_SIZEOF_LONG_LONG 8
|
||||
|
||||
@ -53,7 +53,6 @@ _M_X64 x64 platform
|
||||
#define QSE_SIZEOF___INT16 0
|
||||
#define QSE_SIZEOF___INT32 0
|
||||
#define QSE_SIZEOF___INT64 0
|
||||
#define QSE_SIZEOF___INT96 0
|
||||
#define QSE_SIZEOF___INT128 0
|
||||
#else
|
||||
#define QSE_SIZEOF_LONG_LONG 0
|
||||
@ -62,7 +61,6 @@ _M_X64 x64 platform
|
||||
#define QSE_SIZEOF___INT16 2
|
||||
#define QSE_SIZEOF___INT32 4
|
||||
#define QSE_SIZEOF___INT64 8
|
||||
#define QSE_SIZEOF___INT96 0
|
||||
#define QSE_SIZEOF___INT128 0
|
||||
#endif
|
||||
|
||||
|
@ -26,13 +26,25 @@
|
||||
|
||||
#define QSE_SIZEOF_LONG 4
|
||||
|
||||
#define QSE_SIZEOF_LONG_LONG 0
|
||||
#define QSE_SIZEOF___INT8 1
|
||||
#define QSE_SIZEOF___INT16 2
|
||||
#define QSE_SIZEOF___INT32 4
|
||||
#define QSE_SIZEOF___INT64 8
|
||||
#define QSE_SIZEOF___INT96 0
|
||||
#define QSE_SIZEOF___INT128 0
|
||||
#if defined(__GNUC__)
|
||||
# define QSE_SIZEOF_LONG_LONG 8
|
||||
# define QSE_SIZEOF___INT8 0
|
||||
# define QSE_SIZEOF___INT16 0
|
||||
# define QSE_SIZEOF___INT32 0
|
||||
# define QSE_SIZEOF___INT64 0
|
||||
# define QSE_SIZEOF___INT128 0
|
||||
#else
|
||||
# if defined(__WATCOMC__)
|
||||
# define QSE_SIZEOF_LONG_LONG 8
|
||||
# else
|
||||
# define QSE_SIZEOF_LONG_LONG 0
|
||||
# endif
|
||||
# define QSE_SIZEOF___INT8 1
|
||||
# define QSE_SIZEOF___INT16 2
|
||||
# define QSE_SIZEOF___INT32 4
|
||||
# define QSE_SIZEOF___INT64 8
|
||||
# define QSE_SIZEOF___INT128 0
|
||||
#endif
|
||||
|
||||
#define QSE_SIZEOF_VOID_P 4
|
||||
#define QSE_SIZEOF_FLOAT 4
|
||||
@ -41,4 +53,4 @@
|
||||
#define QSE_SIZEOF_WCHAR_T 2
|
||||
|
||||
#define QSE_SIZEOF_OFF64_T 0
|
||||
#define QSE_SIZEOF_OFF_T 4
|
||||
#define QSE_SIZEOF_OFF_T 8
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: conf_vms.h 287 2009-09-15 10:01:02Z hyunghwan.chung $
|
||||
* $Id: conf_vms.h 397 2011-03-15 03:40:39Z hyunghwan.chung $
|
||||
*
|
||||
Copyright 2006-2009 Chung, Hyung-Hwan.
|
||||
This file is part of QSE.
|
||||
@ -55,7 +55,6 @@
|
||||
#define QSE_SIZEOF___INT64 0
|
||||
#endif
|
||||
|
||||
#define QSE_SIZEOF___INT96 0
|
||||
#define QSE_SIZEOF___INT128 0
|
||||
|
||||
#if defined(vax) || defined(__vax)
|
||||
|
Reference in New Issue
Block a user