Accommodate some newly introduced source files for building with MSVC (libpbd)
authorJohn Emmas <johne53@tiscali.co.uk>
Fri, 2 Jan 2015 14:33:35 +0000 (14:33 +0000)
committerJohn Emmas <johne53@tiscali.co.uk>
Fri, 2 Jan 2015 15:31:39 +0000 (15:31 +0000)
libs/pbd/MSVCpbd/pbd.vcproj
libs/pbd/timing.cc

index 244328d41bc10abb05d05014143beef41e5e62c2..4e3866d01bacd6fcd73fd1610c170c1b40e4678c 100644 (file)
                                RelativePath="..\textreceiver.cc"
                                >
                        </File>
+                       <File
+                               RelativePath="..\timer.cc"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\timing.cc"
+                               >
+                       </File>
                        <File
                                RelativePath="..\transmitter.cc"
                                >
                                RelativePath="..\pbd\textreceiver.h"
                                >
                        </File>
+                       <File
+                               RelativePath="..\pbd\timer.h"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\pbd\timing.h"
+                               >
+                       </File>
                        <File
                                RelativePath="..\pbd\tokenizer.h"
                                >
index b811c09f9612a78a5a44e7367ad11b091243ffb7..c6f76211c2323fb58335c41cbb5f75399a369f6d 100644 (file)
 #include <sstream>
 #include <limits>
 
+#ifdef COMPILER_MSVC
+#undef min
+#undef max
+#endif
+
 namespace PBD {
 
 bool