sizeof(char) is 1. By definition.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1870,7 +1870,6 @@ AC_C_INLINE
|
||||
dnl check the sizes of integral types (give some reasonable default values for
|
||||
dnl cross-compiling)
|
||||
dnl defines the size of certain types of variables in SIZEOF_<TYPE>
|
||||
AC_CHECK_SIZEOF(char, 1)
|
||||
AC_CHECK_SIZEOF(short, 2)
|
||||
AC_CHECK_SIZEOF(void *, 4)
|
||||
AC_CHECK_SIZEOF(int, 4)
|
||||
|
@@ -667,9 +667,6 @@ enum { wxDefaultCoord = -1 };
|
||||
/* practice) */
|
||||
|
||||
/* 8bit */
|
||||
#ifndef SIZEOF_CHAR
|
||||
#define SIZEOF_CHAR 1
|
||||
#endif
|
||||
typedef signed char wxInt8;
|
||||
typedef unsigned char wxUint8;
|
||||
typedef wxUint8 wxByte;
|
||||
|
@@ -61,7 +61,6 @@
|
||||
#define HAVE_VSNPRINTF_DECL 1
|
||||
#define HAVE_USLEEP 1
|
||||
#define HAVE_WCSLEN 1
|
||||
#define SIZEOF_CHAR 1
|
||||
#define SIZEOF_WCHAR_T 4
|
||||
#define SIZEOF_SHORT 2
|
||||
#define SIZEOF_INT 4
|
||||
|
Reference in New Issue
Block a user