ObjFW  Diff

Differences From Artifact [76ff6117a8]:

To Artifact [9ad949e286]:


118
119
120
121
122
123
124
125
126


127
128

129
130
131
132
133
134
135
136
137
138
118
119
120
121
122
123
124


125
126


127



128
129
130
131
132
133
134







-
-
+
+
-
-
+
-
-
-







#define OF_ENSURE(cond)							\
	if (!(cond)) {							\
		fprintf(stderr, "Failed to ensure condition in "	\
		    __FILE__ ":%d:\n" #cond "\n", __LINE__);		\
		abort();						\
	}

#if __STDC_VERSION__ >= 201112L
# /* C11 compiler, but old libc */
#if __STDC_VERSION__ >= 201112L && !defined(static_assert)
/* C11 compiler, but old libc */
# ifndef static_assert
#  define static_assert _Static_assert
# define static_assert _Static_assert
# endif
#else
# define static_assert assert
#endif

#if !defined(_WIN32) && !defined(__DJGPP__)
# define OF_PATH_DELIMITER '/'
# define OF_PATH_DELIMITER_STRING @"/"
# define OF_IS_PATH_DELIMITER(c) (c == '/')
#else