]> git.ipfire.org Git - thirdparty/Python/cpython.git/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 7718c3be2c1dedad8b3db68bce3ccd24a3fcce89..f1b069d7d061ea72ceeb41e29af6a59edf1b31d1 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 35e67635bc6127c8570e0779f3d8845a87d85cdb..e4a8958cc27ebc3758108f4ca8521d7df1dacf7b 100644 (file)
@@ -34,7 +34,9 @@
 
 #if defined(linux)
 
+#ifndef HAVE_STDINT_H
 typedef unsigned long uint32_t;
+#endif
 
 #elif defined(__FreeBSD__)