diff options
author | David Robillard <d@drobilla.net> | 2021-01-17 11:10:10 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-01-17 12:00:53 +0100 |
commit | c4c4ec510dbeff61982e4aee7d1b379539319cd9 (patch) | |
tree | 942e531045244973fa62537489220789d4b1c105 /wscript | |
parent | 989417824307f10ae75f8b9e0d6aa639a619faaf (diff) | |
download | serd-c4c4ec510dbeff61982e4aee7d1b379539319cd9.tar.gz serd-c4c4ec510dbeff61982e4aee7d1b379539319cd9.tar.bz2 serd-c4c4ec510dbeff61982e4aee7d1b379539319cd9.zip |
Remove aligned_alloc support
This causes build issues when targeting older versions of MacOS. That could be
fixed, but I don't have the ability to reproduce it at the moment, and it's a
problem in the build system check code which is about to be entirely replaced
anyway.
Since, as far as I know, this does not actually add aligned allocation support
to any real system (they all support one of the other methods), just remove it
for now.
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -123,13 +123,6 @@ def configure(conf): if Options.options.largefile: conf.env.append_unique('DEFINES', ['_FILE_OFFSET_BITS=64']) - conf.check_function('c', 'aligned_alloc', - header_name = 'stdlib.h', - return_type = 'void*', - arg_types = 'size_t,size_t', - define_name = 'HAVE_ALIGNED_ALLOC', - mandatory = False) - if not Options.options.no_posix: funcs = {'posix_memalign': ('stdlib.h', 'int', 'void**,size_t,size_t'), 'posix_fadvise': ('fcntl.h', 'int', 'int,off_t,off_t,int'), |