Skip to content

Commit

Permalink
Merge pull request libffi#185 from freakboy3742/t184
Browse files Browse the repository at this point in the history
Fixed libffi#184 -- Corrected source file references in Darwin source generator tool.
  • Loading branch information
atgreen committed Mar 30, 2015
2 parents 173757c + a5b3eaa commit 17ffc36
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions generate-darwin-source-and-headers.py
Expand Up @@ -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):
Expand All @@ -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):
Expand Down Expand Up @@ -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"
Expand All @@ -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):
Expand Down

0 comments on commit 17ffc36

Please sign in to comment.