Differential D25331 Diff 73748 head/databases/grass7/files/patch-lib_python_ctypes_ctypesgencore_parser_preprocessor.py
Changeset View
Changeset View
Standalone View
Standalone View
head/databases/grass7/files/patch-lib_python_ctypes_ctypesgencore_parser_preprocessor.py
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- lib/python/ctypes/ctypesgencore/parser/preprocessor.py.orig 2020-06-03 13:26:22 UTC | |||||
+++ lib/python/ctypes/ctypesgencore/parser/preprocessor.py | |||||
@@ -123,7 +123,8 @@ class PreprocessorParser(object): | |||||
def __init__(self, options, cparser): | |||||
self.defines = ["inline=", "__inline__=", "__extension__=", | |||||
"_Bool=uint8_t", "__const=const", "__asm__(x)=", | |||||
- "__asm(x)=", "CTYPESGEN=1"] | |||||
+ "__asm(x)=", "CTYPESGEN=1", | |||||
+ "__attribute__(x)=", "__aligned(x)=", "_Noreturn="] | |||||
# On OSX, explicitly add these defines to keep from getting syntax | |||||
# errors in the OSX standard headers. |