Selaa lähdekoodia

* Check size of some types, size_t, ptrdiff_t, time_t

svn: 3891
Bryan Drewery 17 vuotta sitten
vanhempi
commit
8e76284ade
3 muutettua tiedostoa jossa 1231 lisäystä ja 7 poistoa
  1. 5 5
      autotools/configure.ac
  2. 9 0
      config.h.in
  3. 1217 2
      configure

+ 5 - 5
autotools/configure.ac

@@ -87,7 +87,7 @@ AC_CACHE_SAVE
 #EGG_CHECK_SSL
 
 
-AC_SUBST(ZLIB)dnl
+#AC_SUBST(ZLIB)dnl
 #AC_SUBST(SSL)dnl
 
 # Checks for typedefs, structures, and compiler characteristics
@@ -107,18 +107,18 @@ AC_C_CHAR_UNSIGNED
 #checkpoint
 AC_CACHE_SAVE 
 
-AC_CHECK_SIZEOF(int, 0)
 AC_CHECK_SIZEOF(short, 0)
+AC_CHECK_SIZEOF(int, 0)
 AC_CHECK_SIZEOF(long, 0)
 AC_CHECK_SIZEOF(long long,0)
+AC_CHECK_SIZEOF(size_t, 0)
+AC_CHECK_SIZEOF(ptrdiff_t, 0)
+AC_CHECK_SIZEOF(time_t, 0)
 
 
 AC_STRUCT_TIMEZONE
 AC_STRUCT_TM
 
-#checkpoint
-AC_CACHE_SAVE 
-
 # Checks for library functions
 AC_FUNC_FORK
 AC_FUNC_LSTAT

+ 9 - 0
config.h.in

@@ -283,9 +283,18 @@
 /* The size of `long long', as computed by sizeof. */
 #undef SIZEOF_LONG_LONG
 
+/* The size of `ptrdiff_t', as computed by sizeof. */
+#undef SIZEOF_PTRDIFF_T
+
 /* The size of `short', as computed by sizeof. */
 #undef SIZEOF_SHORT
 
+/* The size of `size_t', as computed by sizeof. */
+#undef SIZEOF_SIZE_T
+
+/* The size of `time_t', as computed by sizeof. */
+#undef SIZEOF_TIME_T
+
 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
 #undef STAT_MACROS_BROKEN
 

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 1217 - 2
configure


Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä