1
0
mirror of https://github.com/UzixLS/picocom.git synced 2025-07-19 07:21:18 +03:00

Enable default custom baud not for old PPC Mac (#84)

This check implies, that custom baud will not be enabled by default for OSX older than 10.4
This commit is contained in:
Joe Merten
2018-01-28 16:23:05 +01:00
parent a799995415
commit 56e6886768

View File

@ -50,10 +50,12 @@
#elif TARGET_OS_IPHONE #elif TARGET_OS_IPHONE
/* Do not enable by default for iOS until it has been tested */ /* Do not enable by default for iOS until it has been tested */
#elif TARGET_OS_MAC #elif TARGET_OS_MAC
/* Enable by-default for macOS / OSX >= 10.4 (Tiger) */ #if defined (__i386__) || defined (__x86_64__)
/* Enable by-default for Intel Mac, macOS / OSX >= 10.4 (Tiger) */
#ifndef USE_CUSTOM_BAUD #ifndef USE_CUSTOM_BAUD
#define USE_CUSTOM_BAUD #define USE_CUSTOM_BAUD
#endif #endif
#endif /* of arch */
#endif /* of TARGET_OS_... */ #endif /* of TARGET_OS_... */
#define CUSTOM_BAUD_HEAD "custbaud_bsd.h" #define CUSTOM_BAUD_HEAD "custbaud_bsd.h"