Fossil SCM

Correct commit that had mistake in macro definition in [36e7558a11598].

andybradford 2016-11-06 16:40 trunk
Commit 427c34feeada882e826e535422ad505894a6792b
1 file changed +1 -3
+1 -3
--- src/config.h
+++ src/config.h
@@ -230,10 +230,8 @@
230230
#endif
231231
232232
/*
233233
** Number of elements in an array
234234
*/
235
-#ifndef fossil_sizeof
236
-# define count(X) (sizeof(X)/sizeof(X[0]))
237
-#endif
235
+#define count(X) (sizeof(X)/sizeof(X[0]))
238236
239237
#endif /* _RC_COMPILE_ */
240238
--- src/config.h
+++ src/config.h
@@ -230,10 +230,8 @@
230 #endif
231
232 /*
233 ** Number of elements in an array
234 */
235 #ifndef fossil_sizeof
236 # define count(X) (sizeof(X)/sizeof(X[0]))
237 #endif
238
239 #endif /* _RC_COMPILE_ */
240
--- src/config.h
+++ src/config.h
@@ -230,10 +230,8 @@
230 #endif
231
232 /*
233 ** Number of elements in an array
234 */
235 #define count(X) (sizeof(X)/sizeof(X[0]))
 
 
236
237 #endif /* _RC_COMPILE_ */
238

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button