proxmark3/tools
İlteriş Yağıztegin Eroğlu 87400b6156 don't define _POSIX_C_SOURCE in mfd_aes_brute.c if macos
unistd.h in macos has this snippet:

 #if __DARWIN_C_LEVEL >= __DARWIN_C_FULL
 #define _SC_NPROCESSORS_CONF            57
 #define _SC_NPROCESSORS_ONLN            58
 #endif /* __DARWIN_C_LEVEL >= __DARWIN_C_FULL */

__DARWIN_C_FULL is 900000L.

If _POSIX_C_SOURCE gets defined without __DARWIN_C_SOURCE being defined,
__DARWIN_C_LEVEL will be assigned to __DARWIN_C_ANSI, which is 010000L.

Thus this definition will remove _SC_NPROCESSORS_CONF.

If we don't define _POSIX_C_SOURCE, __DARWIN_C_LEVEL will be equal to
__DARWIN_C_FULL, and _SC_NPROCESSORS_CONF will be available.

This commit also includes homebrew and macports prefix definitions for mfd_aes_brute.

Signed-off-by: İlteriş Yağıztegin Eroğlu <ilteris@asenkron.com.tr>
2022-01-31 15:41:06 +03:00
..
btaddon btaddon scripts: warn for pyserial 2020-02-21 16:06:40 +01:00
cryptorf cppcheck fix const 2022-01-06 21:53:39 +01:00
deprecated-hid-flasher text.. plus.. the deprecated code is way behind 2022-01-03 22:13:26 +01:00
fpga_compress cppcheck fix 2022-01-08 15:05:03 +01:00
hitag2crack Disable ht2crack5gpu as ht2crack5opencl supercedes it and ht2crack5gpu can be difficult to get running on setups supporting OpenCL on more than one Nvidia GPU 2022-01-09 16:34:31 +01:00
jtag_openocd add shikra conf based on @NinjaStyle82 patch to the deprecated iceman fork 2021-05-07 08:46:00 +02:00
mf_nonce_brute use calloc instead 2022-01-09 00:33:33 +01:00
mfd_aes_brute don't define _POSIX_C_SOURCE in mfd_aes_brute.c if macos 2022-01-31 15:41:06 +03:00
mfkey typos 2021-10-10 01:35:45 +02:00
nonce2key Revert "Makefile: move mingw defines to Makefile.host" 2020-04-26 22:30:41 +02:00
simmodule typos 2021-10-16 23:44:53 +02:00
analyzesize.py Merge pull request #561 from sigwinch28/use-env-for-shebangs 2020-02-21 15:24:50 +01:00
build_all_firmwares.sh added build_all_firmware changes 2022-01-07 19:12:13 -05:00
findbits.py typo 2021-10-06 20:06:17 +02:00
findbits_test.py findbits converted to python3 + tests 2020-02-21 16:45:00 +01:00
Makefile fix Makefile and use git clone instead 2021-02-11 18:17:21 +01:00
mkversion.pl typos 2021-10-16 23:44:53 +02:00
mkversion.sh typos 2021-10-16 23:44:53 +02:00
pm3_amii_bin2eml.pl tools gardening 2021-10-06 20:27:55 +02:00
pm3_cs8.pl tools gardening 2021-10-06 20:27:55 +02:00
pm3_eml2lower.sh Use /usr/bin/env in shebangs 2020-02-18 00:00:24 +00:00
pm3_eml2mfd.py convert python2 mfd2eml and eml2mfd scripts to python3 2020-02-21 15:36:48 +00:00
pm3_eml2upper.sh Use /usr/bin/env in shebangs 2020-02-18 00:00:24 +00:00
pm3_eml_mfd_test.py convert python2 mfd2eml and eml2mfd scripts to python3 2020-02-21 15:36:48 +00:00
pm3_key_file_diff.py key file py script - @ikarus 2020-07-14 15:55:44 +02:00
pm3_mf7b_wipe.py typos 2021-10-10 01:35:45 +02:00
pm3_mfd2eml.py convert python2 mfd2eml and eml2mfd scripts to python3 2020-02-21 15:36:48 +00:00
pm3_mfdread.py pm3_mfdread.py script python3 and warn for bitstring module 2020-02-21 16:17:56 +01:00
pm3_online_check.py typos 2021-10-10 01:35:45 +02:00
pm3_pm32wav.py Simple script to convert pm3 traces to something audible, thanks @rfidiot for the idea 2019-09-25 15:02:40 +02:00
pm3_reblay-emulating.py tools gardening 2021-10-06 20:27:55 +02:00
pm3_reblay-reading.py tools gardening 2021-10-06 20:27:55 +02:00
pm3_tests.sh fix pm3_tests for real 2022-01-26 20:42:11 +01:00
recover_pk.py recover_pk: better warning if OpenSSL doesn't provide required curve (Fedora I'm looking at you) 2022-01-09 17:49:46 +01:00
rfidtest.pl tools gardening 2021-10-06 20:27:55 +02:00
xorcheck.py xorcheck script converted in python3 + test 2020-02-21 16:29:52 +01:00