Update.
[platform/upstream/glibc.git] / db2 / db_int.h
index 23fb106..a088c69 100644 (file)
 
 #define        DB_MINCACHE     10              /* Minimum cached pages */
 
+/* Handle `errno' in the presence of multi-threading correctly.  On some
+   systems we need a special macro to do this right.  */
+#ifndef __set_errno
+# define __set_errno(val) (errno) = (val)
+#endif
+
 /*
  * Aligning items to particular sizes or in pages or memory.  ALIGNP is a
  * separate macro, as we've had to cast the pointer to different integral