fsync test: Avoid test failure on MacOS X and AIX.
[pspp] / tests / macros.h
index 89226758ec607c45f8175a7522ecbb945234e5a9..adb3744d5c03732ce758ee158199b61c9e1cb7d7 100644 (file)
@@ -62,3 +62,7 @@
    *not* work for function parameters of array type, because they are actually
    parameters of pointer type.  */
 #define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
+
+/* STREQ (str1, str2)
+   Return true if two strings compare equal.  */
+#define STREQ(a, b) (strcmp (a, b) == 0)