##// END OF EJS Templates
osutil: replace #import with #include, and add a check for it
Dan Villiom Podlaski Christiansen -
r13748:26f8844d default
parent child Browse files
Show More
@@ -180,6 +180,7 cpats = [
180 180 (r'^[^#]\w[+/*]\w', "missing whitespace in expression"),
181 181 (r'^#\s+\w', "use #foo, not # foo"),
182 182 (r'[^\n]\Z', "no trailing newline"),
183 (r'^\s*#import\b', "use only #include in standard C code"),
183 184 ]
184 185
185 186 cfilters = [
@@ -515,7 +515,7 bail:
515 515 #endif
516 516
517 517 #ifdef __APPLE__
518 #import <ApplicationServices/ApplicationServices.h>
518 #include <ApplicationServices/ApplicationServices.h>
519 519
520 520 static PyObject *isgui(PyObject *self)
521 521 {
General Comments 0
You need to be logged in to leave comments. Login now