summaryrefslogtreecommitdiff
path: root/security/py-pycrypto/files/patch-setup.py
blob: dc0e8867a93721876d71f09f932fa305f1b83e92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- ./setup.py.orig	2012-10-03 15:57:50.000000000 +1000
+++ ./setup.py	2012-10-03 15:57:50.000000000 +1000
@@ -136,6 +136,7 @@
                 # especially helps the DES modules.
                 self.__add_compiler_option("-O3")
                 self.__add_compiler_option("-fomit-frame-pointer")
+                self.__add_compiler_option("-D_WCHAR_T_DEFINED")
                 # Don't include debug symbols unless debugging
                 self.__remove_compiler_option("-g")
                 # Don't include profiling information (incompatible with