commit f6a1f020d78c5e26b1dfe519a5d0ccbc8c4b7b38
Author: phantomjinx <p.g.richard...@phantomjinx.co.uk>
Date:   Mon Jun 11 22:38:26 2012 +0100

    Avoid Creating new uint definitions
    
    * Include stdint.h in AP_commons.h instead
    
    * Allows compilation of freebsd
    
    * Thanks to Matteo <mfv.debian at gmail.com> for the investigation and
      patch

 libs/atomic-parsley/AP_commons.h |   31 +------------------------------
 1 files changed, 1 insertions(+), 30 deletions(-)
---
diff --git a/libs/atomic-parsley/AP_commons.h b/libs/atomic-parsley/AP_commons.h
index a9f061b..ddd13c7 100644
--- a/libs/atomic-parsley/AP_commons.h
+++ b/libs/atomic-parsley/AP_commons.h
@@ -20,36 +20,7 @@
 //==================================================================//
 #include <sys/types.h>
 #include <sys/stat.h>
-
-#ifndef _UINT8_T
-#define _UINT8_T
-typedef unsigned char uint8_t;
-#endif /*_UINT8_T */
-
-#ifndef _UINT16_T
-#define _UINT16_T
-typedef unsigned short uint16_t;
-#endif /* _UINT16_T */
-
-#ifndef _UINT32_T
-#ifndef __uint32_t_defined
-typedef unsigned int uint32_t;
-#endif
-#endif /*_UINT32_T */
-
-#ifndef _UINT64_T
-#define _UINT64_T
-#if defined (_MSC_VER)
-typedef unsigned __int64 uint64_t;
-#else
-typedef unsigned long long uint64_t;
-#endif /* _MSC_VER */
-#endif /* _UINT64_T */
-
-#ifndef _INT16_T
-#define _INT16_T
-typedef short int16_t;
-#endif /* _INT16_T */
+#include <stdint.h>
 
 #if defined (__ppc__) || defined (__ppc64__)
 #define SWAP16(x) (x)

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
gtkpod-cvs2 mailing list
gtkpod-cvs2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to