diff options
author | mwturvey <michael.w.turvey@intel.com> | 2017-03-16 10:31:19 -0700 |
---|---|---|
committer | mwturvey <michael.w.turvey@intel.com> | 2017-03-16 10:31:19 -0700 |
commit | fa0f4825937ed93163bb2cd165c001d7444d8928 (patch) | |
tree | 97f4eb9c6f3e0b35c634aa8ddf0fc9699c09fc69 /src | |
parent | a409645cd3e2b8f0cc67541a9e4c88bf2cd96a79 (diff) | |
download | libsurvive-fa0f4825937ed93163bb2cd165c001d7444d8928.tar.gz libsurvive-fa0f4825937ed93163bb2cd165c001d7444d8928.tar.bz2 |
Last try at getting linktime registration working under MSVC
Diffstat (limited to 'src')
-rwxr-xr-x | src/survive.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/survive.c b/src/survive.c index 2982a4f..c2b2940 100755 --- a/src/survive.c +++ b/src/survive.c @@ -47,6 +47,17 @@ SurviveContext * survive_init( int headless ) did_runtime_symnum = 1; } #endif +//#ifdef MANUAL_REGISTRATION +// // note: this manual registration is currently only in use on builds using Visual Studio. +// +//#define MANUAL_DRIVER_REGISTRATION(func) int func( SurviveObject * so, PoserData * pd ); RegisterDriver( #func, &func); +// +// MANUAL_DRIVER_REGISTRATION(PoserCharlesSlow) +// MANUAL_DRIVER_REGISTRATION(PoserDaveOrtho) +// MANUAL_DRIVER_REGISTRATION(PoserDummy) +// MANUAL_DRIVER_REGISTRATION(DriverRegHTCVive) +// +//#endif int r = 0; int i = 0; |