Enlightenment CVS committal
Author : rbdpngn
Project : e17
Module : libs/embryo
Dir : e17/libs/embryo/src/bin
Modified Files:
embryo_cc_amx.h embryo_cc_osdefs.h
Log Message:
Use stdint.h when available, otherwise define the stuff ourselves.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/embryo/src/bin/embryo_cc_amx.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- embryo_cc_amx.h 25 Mar 2004 02:14:56 -0000 1.3
+++ embryo_cc_amx.h 25 Mar 2004 06:35:38 -0000 1.4
@@ -18,7 +18,7 @@
* misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution.
*
- * Version: $Id: embryo_cc_amx.h,v 1.3 2004/03/25 02:14:56 raster Exp $
+ * Version: $Id: embryo_cc_amx.h,v 1.4 2004/03/25 06:35:38 rbdpngn Exp $
*/
#if defined LINUX
@@ -33,16 +33,10 @@
/* The ISO C99 defines the int16_t and int_32t types. If the compiler got
* here, these types are probably undefined.
*/
-# ifndef __int16_t_defined
+# ifndef HAVE_STDINT_H
typedef short int int16_t;
-# endif
-# ifndef __uint16_t_defined
typedef unsigned short int uint16_t;
-# endif
-# ifndef __int32_t_defined
typedef int int32_t;
-# endif
-# ifndef __uint32_t_defined
typedef unsigned int uint32_t;
# endif
#endif
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/embryo/src/bin/embryo_cc_osdefs.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- embryo_cc_osdefs.h 25 Mar 2004 02:07:28 -0000 1.2
+++ embryo_cc_osdefs.h 25 Mar 2004 06:35:38 -0000 1.3
@@ -56,6 +56,10 @@
# define BYTE_ORDER LITTLE_ENDIAN
#endif
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
+
/* _MAX_PATH is sometimes called differently and it may be in limits.h instead
* stdio.h.
*/
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs