diff options
| author | gkostka <kostka.grzegorz@gmail.com> | 2016-01-23 17:37:24 +0100 |
|---|---|---|
| committer | gkostka <kostka.grzegorz@gmail.com> | 2016-01-23 17:37:24 +0100 |
| commit | cfc1becdfe4f6524c89949f50186f5a533bfcd17 (patch) | |
| tree | fa65d092544403926e6e2621f96b305e417fdfc7 | |
| parent | a35c56fdfe17aece72db0636b46e8839e1014877 (diff) | |
ext4_config: set CONFIG_HAVE_OWN_ERRNO default value to 0
| -rw-r--r-- | CMakeLists.txt | 4 | ||||
| -rw-r--r-- | lwext4/ext4_config.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 1d83974..e07c91e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,7 +22,7 @@ elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL cortex-m4) elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL bf518) #... elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL avrxmega7) - #... + add_definitions(-DCONFIG_HAVE_OWN_ERRNO=1) elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL msp430g2210) add_definitions(-DCONFIG_DEBUG_PRINTF=0) add_definitions(-DCONFIG_DEBUG_ASSERT=0) @@ -31,7 +31,7 @@ elseif(LIB_ONLY) add_definitions(-DCONFIG_DEBUG_PRINTF=0) add_definitions(-DCONFIG_DEBUG_ASSERT=0) add_definitions(-DCONFIG_HAVE_OWN_OFLAGS=1) - add_definitions(-DCONFIG_HAVE_OWN_ERRNO=1) + add_definitions(-DCONFIG_HAVE_OWN_ERRNO=0) add_definitions(-DCONFIG_BLOCK_DEV_CACHE_SIZE=16) else() #Generic example target diff --git a/lwext4/ext4_config.h b/lwext4/ext4_config.h index 7be3612..3d856eb 100644 --- a/lwext4/ext4_config.h +++ b/lwext4/ext4_config.h @@ -95,7 +95,7 @@ extern "C" { /**@brief Include error codes from ext4_errno or standard library.*/ #ifndef CONFIG_HAVE_OWN_ERRNO -#define CONFIG_HAVE_OWN_ERRNO 1 +#define CONFIG_HAVE_OWN_ERRNO 0 #endif /**@brief Debug printf enable (stdout)*/ |
