Skip to content

Commit

Permalink
Move defines from stdafx.h to CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
OttoAllmendinger committed Oct 2, 2014
1 parent dfddaa1 commit 7eaa274
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Expand Up @@ -276,6 +276,10 @@ endif()

add_definitions(-DCHAISCRIPT_NO_THREADS)

add_definitions(-DOT_CRYPTO_USING_OPENSSL)

add_definitions(-DOT_CASH_USING_LUCRE)

#Keyrings
if(KEYRING_WINDOWS AND WIN32)
add_definitions(-DOT_KEYRING_WINDOWS)
Expand Down
8 changes: 0 additions & 8 deletions include/opentxs/core/stdafx.hpp
Expand Up @@ -82,14 +82,6 @@ union u_header
#define OT_USE_CHAI_STDLIB
#endif

#ifndef OT_CRYPTO_USING_OPENSSL
#define OT_CRYPTO_USING_OPENSSL 1
#endif

#ifndef OT_CASH_USING_LUCRE
#define OT_CASH_USING_LUCRE 1
#endif

// for mac, this enables deprecated functions. (aka, for pthread)
#ifdef _XOPEN_SOURCE
#undef _XOPEN_SOURCE
Expand Down

0 comments on commit 7eaa274

Please sign in to comment.