Show More
@@ -127,6 +127,10 b' def hasfunction(cc, funcname):' | |||||
127 | code = 'int main(void) { %s(); }\n' % funcname |
|
127 | code = 'int main(void) { %s(); }\n' % funcname | |
128 | return cancompile(cc, code) |
|
128 | return cancompile(cc, code) | |
129 |
|
129 | |||
|
130 | def hasheader(cc, headername): | |||
|
131 | code = '#include <%s>\nint main(void) { return 0; }\n' % headername | |||
|
132 | return cancompile(cc, code) | |||
|
133 | ||||
130 | # py2exe needs to be installed to work |
|
134 | # py2exe needs to be installed to work | |
131 | try: |
|
135 | try: | |
132 | import py2exe |
|
136 | import py2exe |
General Comments 0
You need to be logged in to leave comments.
Login now