Added SIZEOF_INT and SIZEOF_SHORT definitions for non-configure systems

This commit is contained in:
Yang Tse
2010-02-26 18:32:46 +00:00
parent 697496ff99
commit cef95aadeb
17 changed files with 91 additions and 12 deletions

View File

@@ -310,12 +310,18 @@
/* TYPE SIZES */
/* ---------------------------------------------------------------- */
/* The number of bytes in a long double. */
/* The size of `int', as computed by sizeof. */
#define SIZEOF_INT 4
/* The size of `long double', as computed by sizeof. */
#define SIZEOF_LONG_DOUBLE 16
/* The number of bytes in a long long. */
/* The size of `long long', as computed by sizeof. */
/* #define SIZEOF_LONG_LONG 8 */
/* The size of `short', as computed by sizeof. */
#define SIZEOF_SHORT 2
/* ---------------------------------------------------------------- */
/* STRUCT RELATED */
/* ---------------------------------------------------------------- */