diff options
author | Justin Berger <j.david.berger@gmail.com> | 2018-07-06 09:42:49 -0600 |
---|---|---|
committer | Justin Berger <j.david.berger@gmail.com> | 2018-07-06 09:42:49 -0600 |
commit | 0cadc2d0efbdba661f3c41e6bca43c8cefb283b7 (patch) | |
tree | c7cc1b9a85cd12d499ba78f8c5ba3f4d192e3b98 /src/survive.c | |
parent | 4682f04fe7082581a13fd0dfd1c256352455ffda (diff) | |
download | libsurvive-0cadc2d0efbdba661f3c41e6bca43c8cefb283b7.tar.gz libsurvive-0cadc2d0efbdba661f3c41e6bca43c8cefb283b7.tar.bz2 |
Fixed symbol enumeration for windows
Diffstat (limited to 'src/survive.c')
-rw-r--r-- | src/survive.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/survive.c b/src/survive.c index 911a900..e75f56b 100644 --- a/src/survive.c +++ b/src/survive.c @@ -21,6 +21,8 @@ STATIC_CONFIG_ITEM( CONFIG_FILE, "configfile", 's', "Default configuration file" STATIC_CONFIG_ITEM( CONFIG_D_CALI, "disable-calibrate", 'i', "Enables or disables calibration", 0 ); STATIC_CONFIG_ITEM( CONFIG_F_CALI, "force-calibrate", 'i', "Forces calibration even if one exists.", 0 ); +#define RUNTIME_SYMNUM 1 + #ifdef RUNTIME_SYMNUM #include <symbol_enumerator.h> static int did_runtime_symnum; @@ -110,8 +112,6 @@ static void PrintMatchingDrivers( const char * prefix, const char * matchingpara } } - - SurviveContext *survive_init_internal(int argc, char *const *argv) { int i; |