]> git.droids-corp.org - protos/libecoli.git/blobdiff - include/ecoli_config.h
move ec_count_of in utils.h
[protos/libecoli.git] / include / ecoli_config.h
index ba933378af7c8ce9ff3dbac9e3cfc6c17be3a99b..8ae15ed893de0d2558b56efe9424b9558e82b72a 100644 (file)
 #include <stdint.h>
 #include <stdio.h>
 
 #include <stdint.h>
 #include <stdio.h>
 
-#ifndef EC_COUNT_OF //XXX
-#define EC_COUNT_OF(x) ((sizeof(x)/sizeof(0[x])) / \
-               ((size_t)(!(sizeof(x) % sizeof(0[x])))))
-#endif
-
 struct ec_config;
 struct ec_dict;
 
 struct ec_config;
 struct ec_dict;