comparison vamp-sdk/plugguard.h @ 263:4454843ff384

* OK, we're going to have to place the host stuff in its own namespace too. Otherwise our new SV build on OSX fails to load old plugins because they pull in the host namespace PluginBase and thus report the wrong Vamp version... *sigh*
author cannam
date Thu, 20 Nov 2008 15:01:30 +0000
parents 3cf5bd155e5b
children 03c7167e1f30
comparison
equal deleted inserted replaced
262:4a0e998a1afd 263:4454843ff384
65 * it's included after something from vamp-hostsdk, it will work OK 65 * it's included after something from vamp-hostsdk, it will work OK
66 * anyway. The remaining problem case is where nothing from 66 * anyway. The remaining problem case is where nothing from
67 * vamp-hostsdk is included in the same file. We can't catch that. 67 * vamp-hostsdk is included in the same file. We can't catch that.
68 */ 68 */
69 69
70 #ifdef _VAMP_IN_HOSTSDK 70 #ifndef _VAMP_IN_HOSTSDK
71
72 #define _VAMP_SDK_PLUGSPACE_BEGIN(h)
73 #define _VAMP_SDK_PLUGSPACE_END(h)
74
75 #else
76 71
77 #define _VAMP_IN_PLUGINSDK 1 72 #define _VAMP_IN_PLUGINSDK 1
78 73
79 #ifdef _VAMP_NO_PLUGIN_NAMESPACE 74 #ifdef _VAMP_NO_PLUGIN_NAMESPACE
80 #define _VAMP_SDK_PLUGSPACE_BEGIN(h) 75 #define _VAMP_SDK_PLUGSPACE_BEGIN(h)