]> granicus.if.org Git - python/commitdiff
Compilation problem caused by conflicting typedefs for uint32_t
authorArmin Rigo <arigo@tunes.org>
Wed, 4 Oct 2006 10:23:57 +0000 (10:23 +0000)
committerArmin Rigo <arigo@tunes.org>
Wed, 4 Oct 2006 10:23:57 +0000 (10:23 +0000)
(unsigned long vs. unsigned int).

Modules/linuxaudiodev.c
Modules/ossaudiodev.c

index c1c7363c83b9c210335c33474f40375fdc1e70e1..b435d768a8ecc238979022e92ec4fe964ac0be27 100644 (file)
@@ -28,7 +28,9 @@
 #if defined(linux)
 #include <linux/soundcard.h>
 
+#ifndef HAVE_STDINT_H
 typedef unsigned long uint32_t;
+#endif
 
 #elif defined(__FreeBSD__)
 #include <machine/soundcard.h>
index 9716838ba231dd945e0a32cf53f12b37d9c20753..eb59c4d8ecf8f56cb459bf42541c948cd82a3a03 100644 (file)
@@ -34,7 +34,9 @@
 
 #if defined(linux)
 
+#ifndef HAVE_STDINT_H
 typedef unsigned long uint32_t;
+#endif
 
 #elif defined(__FreeBSD__)