summaryrefslogtreecommitdiff
path: root/src/inc-msvc
diff options
context:
space:
mode:
authorDwayne C. Litzenberger <dlitz@dlitz.net>2011-10-10 23:33:38 -0400
committerDwayne C. Litzenberger <dlitz@dlitz.net>2011-10-10 23:37:51 -0400
commit7401e648d44f9324a313346f45e86fc5e779a7aa (patch)
treebe30ac9265b6ea5f8913aed1c6e9ace6eabe9216 /src/inc-msvc
parent323ce9ef951378dc96ce14c9e514e9aa19ab39d9 (diff)
downloadpycrypto-7401e648d44f9324a313346f45e86fc5e779a7aa.tar.gz
Fix build on Solaris 9 and eariler
We use <sys/inttypes.h> on Solaris platforms that don't have <stdint.h>. This should fix https://bugs.launchpad.net/pycrypto/+bug/518871, reported by Sebastian Kayser.
Diffstat (limited to 'src/inc-msvc')
-rw-r--r--src/inc-msvc/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/inc-msvc/config.h b/src/inc-msvc/config.h
index aa42a7b..2b7a626 100644
--- a/src/inc-msvc/config.h
+++ b/src/inc-msvc/config.h
@@ -11,3 +11,6 @@
/* Define to 1 if you have the `mpir' library (-lmpir). */
#undef HAVE_LIBMPIR
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#define HAVE_STDINT_H 1