Browse Source

Fixed some cygwin related issues

master
Artyom Beilis 12 years ago
parent
commit
562ea4bdb2
2 changed files with 5 additions and 1 deletions
  1. +1
    -1
      booster/lib/thread/test/test_thread.cpp
  2. +4
    -0
      contrib/server_side/sessions/CMakeLists.txt

+ 1
- 1
booster/lib/thread/test/test_thread.cpp View File

@@ -208,7 +208,7 @@ int main()
booster::thread t2(f2);
booster::thread t3(f3);

booster::ptime::millisleep(100);
booster::ptime::millisleep(300);
delete p;
t1.join();


+ 4
- 0
contrib/server_side/sessions/CMakeLists.txt View File

@@ -4,5 +4,9 @@ add_subdirectory(sqlite3)
add_subdirectory(cppdb)
add_subdirectory(berkeley_db)

if(WIN32 OR CYGWIN)
add_definitions(-DDLL_EXPORT)
endif()

add_executable(tester storage_test.cpp)
target_link_libraries(tester cppcms booster)

Loading…
Cancel
Save