diff options
author | Carlos Une <brocolis@eml.cc> | 2021-07-10 21:30:35 -0300 |
---|---|---|
committer | Carlos Une <brocolis@eml.cc> | 2021-07-10 21:30:35 -0300 |
commit | 52cb72f02e04786015b2adacd8072bcf2f5e89cb (patch) | |
tree | 6a1e548a8e5abdb37986899d8d0c19a332f9d3f1 /src/c.c | |
parent | db869aa38ad7736df9eec5dfb8ac05b4ba45590b (diff) | |
download | fpm-52cb72f02e04786015b2adacd8072bcf2f5e89cb.tar.gz fpm-52cb72f02e04786015b2adacd8072bcf2f5e89cb.zip |
Use C wrapper by default
Diffstat (limited to 'src/c.c')
-rw-r--r-- | src/c.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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 <sys/stat.h> #include <dirent.h> @@ -18,5 +12,3 @@ const char *get_d_name(struct dirent *d) { return (const char *) d->d_name; } - -#endif |