ext4_config: set CONFIG_HAVE_OWN_ERRNO default value to 0
[lwext4.git] / CMakeLists.txt
index 1d83974883aae69bd220f25aecde640d81dd2e5b..e07c91ea45eb7b98b3e5b42fbafa9718da8d8df6 100644 (file)
@@ -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