Преглед на файлове

add thread safe wrappers

Bill Gesner преди 5 години
родител
ревизия
f9296fa499
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      lfs_util.h

+ 3 - 0
lfs_util.h

@@ -43,6 +43,9 @@ extern "C"
 {
 #endif
 
+#ifndef LFS_THREAD_SAFE
+#define LFS_THREAD_SAFE 0
+#endif
 
 // Macros, may be replaced by system specific wrappers. Arguments to these
 // macros must not have side-effects as the macros can be removed for a smaller