Merge pull request #185 from freakboy3742/t184 Fixed #184 -- Corrected source file references in Darwin source generator tool.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
diff --git a/generate-darwin-source-and-headers.py b/generate-darwin-source-and-headers.py
index 306136f..f551c35 100644
--- a/generate-darwin-source-and-headers.py
+++ b/generate-darwin-source-and-headers.py
@@ -19,7 +19,7 @@ class simulator_platform(Platform):
prefix = "#ifdef __i386__\n\n"
suffix = "\n\n#endif"
src_dir = 'x86'
- src_files = ['darwin.S', 'win32.S', 'ffi.c']
+ src_files = ['sysv.S', 'ffi.c']
class simulator64_platform(Platform):
@@ -32,7 +32,7 @@ class simulator64_platform(Platform):
prefix = "#ifdef __x86_64__\n\n"
suffix = "\n\n#endif"
src_dir = 'x86'
- src_files = ['darwin64.S', 'ffi64.c']
+ src_files = ['unix64.S', 'ffi64.c']
class device_platform(Platform):
@@ -68,7 +68,7 @@ class desktop32_platform(Platform):
triple = 'i386-apple-darwin10'
version_min = '-mmacosx-version-min=10.6'
src_dir = 'x86'
- src_files = ['darwin.S', 'win32.S', 'ffi.c']
+ src_files = ['sysv.S', 'ffi.c']
prefix = "#ifdef __i386__\n\n"
suffix = "\n\n#endif"
@@ -84,7 +84,7 @@ class desktop64_platform(Platform):
prefix = "#ifdef __x86_64__\n\n"
suffix = "\n\n#endif"
src_dir = 'x86'
- src_files = ['darwin64.S', 'ffi64.c']
+ src_files = ['unix64.S', 'ffi64.c']
def mkdir_p(path):