From 52cb72f02e04786015b2adacd8072bcf2f5e89cb Mon Sep 17 00:00:00 2001 From: Carlos Une Date: Sat, 10 Jul 2021 21:30:35 -0300 Subject: Use C wrapper by default --- src/c.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/c.c') diff --git a/src/c.c b/src/c.c index 8cfbd20..c54469a 100644 --- a/src/c.c +++ b/src/c.c @@ -1,9 +1,3 @@ -/* FIXME: fpm --flag '-DENABLE_C_WRAPPER' currently doesn't work with .c files. Use #if..#endif below for the time being. */ -#if ((defined(_WIN32) && (defined(__MINGW32__) || defined(__MINGW64__))) || defined(__linux__) || defined(__APPLE__) || defined(__OpenBSD__)) -#define ENABLE_C_WRAPPER -#endif - -#ifdef ENABLE_C_WRAPPER #include #include @@ -18,5 +12,3 @@ const char *get_d_name(struct dirent *d) { return (const char *) d->d_name; } - -#endif -- cgit v1.2.3