Skip to content

Commit ad75dbc

Browse files
committed
Rename compile definition
1 parent 8f67c9f commit ad75dbc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ if(CMAKE_CXX_COMPILER_ID MATCHES Intel)
328328
endif()
329329

330330
if(ENABLE_ABACUS_LIBM)
331-
abacus_add_feature_definitions(USE_ABACUS_LIBM)
331+
abacus_add_feature_definitions(__ABACUS_LIBM)
332332
endif()
333333

334334
if(ENABLE_NATIVE_OPTIMIZATION)

source/source_base/libm/libm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace ModuleBase
1414
namespace libm
1515
{
1616

17-
#ifdef USE_ABACUS_LIBM
17+
#ifdef __ABACUS_LIBM
1818

1919
double __exp (double x);
2020
double __cos (double x);

0 commit comments

Comments
 (0)