]> git.saurik.com Git - wxWidgets.git/commitdiff
sizeof(char) is 1. By definition.
authorPaul Cornett <paulcor@bullseye.com>
Sat, 10 Mar 2007 03:41:37 +0000 (03:41 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Sat, 10 Mar 2007 03:41:37 +0000 (03:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure.in
include/wx/defs.h
include/wx/mac/carbon/config_xcode.h

index 8ecd5207bf9f79256e2b8836969379c967eea8a6..e8cb56a210f33e32682625b161d627286ed0ac21 100644 (file)
@@ -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)
index ca07009539126eb32554a5c1bcd6ae757c0ee4fd..e9ffe12880b5b347258f2372b7c08179a23ec10c 100644 (file)
@@ -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;
index 0dc2440fbfa5af319dd94a6fef1ddcd0e689b33b..372d00a56a1872b403355f2f55dc08e4f3aea904 100644 (file)
@@ -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