diff src/vamp-sdk/RealTime.cpp @ 230:5ee166dccfff distinct-libraries

* Add include guards; make code compile!
author cannam
date Fri, 07 Nov 2008 14:11:39 +0000
parents 6b30e064cab7
children 521734d2b498
line wrap: on
line diff
--- a/src/vamp-sdk/RealTime.cpp	Thu Nov 06 16:55:15 2008 +0000
+++ b/src/vamp-sdk/RealTime.cpp	Fri Nov 07 14:11:39 2008 +0000
@@ -53,12 +53,16 @@
 using std::cerr;
 using std::endl;
 
-#include "RealTime.h"
-
 #ifndef _WIN32
 #include <sys/time.h>
 #endif
 
+#include <vamp-sdk/RealTime.h>
+
+#ifdef _VAMP_IN_PLUGINSDK
+namespace _VampPlugin {
+#endif
+
 namespace Vamp {
 
 // A RealTime consists of two ints that must be at least 32 bits each.
@@ -243,3 +247,9 @@
 const RealTime RealTime::zeroTime(0,0);
 
 }
+
+#ifdef _VAMP_IN_PLUGINSDK
+}
+#endif
+
+