projects
/
platform
/
upstream
/
iotivity.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "Generate iotivity_config.h at build time"
[platform/upstream/iotivity.git]
/
resource
/
csdk
/
connectivity
/
test
/
catests.cpp
diff --git
a/resource/csdk/connectivity/test/catests.cpp
b/resource/csdk/connectivity/test/catests.cpp
index
b07eb6f
..
c701a2e
100644
(file)
--- a/
resource/csdk/connectivity/test/catests.cpp
+++ b/
resource/csdk/connectivity/test/catests.cpp
@@
-20,6
+20,7
@@
#include "gtest/gtest.h"
+#ifdef HAVE_PTHREAD_H
#include <pthread.h>
/**
@@
-41,6
+42,12
@@
void workaroundHook()
pthread_key_delete(key);
}
}
+#else
+void workaroundHook()
+{
+ return;
+};
+#endif
TEST(BaseTest, WorldIsSane)