Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / API_CppTest / INC / missing.h
diff --git a/WCudaMSE/API_CppTest/INC/missing.h b/WCudaMSE/API_CppTest/INC/missing.h
new file mode 100755 (executable)
index 0000000..b0a1b50
--- /dev/null
@@ -0,0 +1,56 @@
+// ---\r
+//\r
+// $Id: missing.h,v 1.4 2008/07/15 20:33:31 hartwork Exp $\r
+//\r
+// CppTest - A C++ Unit Testing Framework\r
+// Copyright (c) 2003 Niklas Lundell\r
+//\r
+// ---\r
+//\r
+// This library is free software; you can redistribute it and/or\r
+// modify it under the terms of the GNU Lesser General Public\r
+// License as published by the Free Software Foundation; either\r
+// version 2 of the License, or (at your option) any later version.\r
+//\r
+// This library is distributed in the hope that it will be useful,\r
+// but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
+// Lesser General Public License for more details.\r
+//\r
+// You should have received a copy of the GNU Lesser General Public\r
+// License along with this library; if not, write to the\r
+// Free Software Foundation, Inc., 59 Temple Place - Suite 330,\r
+// Boston, MA 02111-1307, USA.\r
+//\r
+// ---\r
+\r
+#ifndef CPPTEST_MISSING_H\r
+#define CPPTEST_MISSING_H\r
+\r
+#if (defined(__WIN32__) || defined(WIN32))\r
+# include "winconfig.h"\r
+#else\r
+# include "config.h"\r
+#endif \r
+\r
+namespace Test\r
+{\r
+#ifndef HAVE_GETTIMEOFDAY\r
+\r
+       struct timeval\r
+       {\r
+               long tv_sec;\r
+               long tv_usec;\r
+       };\r
+               \r
+       extern int gettimeofday(timeval* tv, void*);\r
+               \r
+#endif // #ifndef HAVE_GETTIMEOFDAY\r
+               \r
+#ifndef HAVE_ROUND\r
+       extern double round(double d);\r
+#endif \r
+       \r
+} // namespace Test\r
+\r
+#endif // #ifndef CPPTEST_MISSING_H\r