diff --git a/src/USER-CGSDK/lj_sdk_common.h b/src/USER-CGSDK/lj_sdk_common.h
index 055d6228fcf8cba7fd02bf21f97fc5e0b0a02b00..51dcb4c2b7c8fa906af144ca2c222169b8dcefb9 100644
--- a/src/USER-CGSDK/lj_sdk_common.h
+++ b/src/USER-CGSDK/lj_sdk_common.h
@@ -27,7 +27,7 @@ namespace LJSDKParms {
   // LJ type flags. list of supported LJ exponent combinations
   enum {LJ_NOT_SET=0, LJ9_6, LJ12_4, LJ12_6, NUM_LJ_TYPES};
 
-#if defined(LMP_NEED_FIND_SDK_LJ_TYPE)
+#if defined(LMP_NEED_SDK_FIND_LJ_TYPE)
   static int find_lj_type(const char *label,
                           const char * const * const list) {
     for (int i=0; i < NUM_LJ_TYPES; ++i)
diff --git a/src/USER-CGSDK/pair_lj_sdk.cpp b/src/USER-CGSDK/pair_lj_sdk.cpp
index d6e755aaaba91f571e74f6ae8f6555d12d4b25c2..3404beb58a95528cd3def330ff78e88910be99fb 100644
--- a/src/USER-CGSDK/pair_lj_sdk.cpp
+++ b/src/USER-CGSDK/pair_lj_sdk.cpp
@@ -33,7 +33,7 @@
 #include "memory.h"
 #include "error.h"
 
-#define LMP_NEED_FIND_SDK_LJ_TYPE 1
+#define LMP_NEED_SDK_FIND_LJ_TYPE 1
 #include "lj_sdk_common.h"
 
 using namespace LAMMPS_NS;
diff --git a/src/USER-CGSDK/pair_lj_sdk_coul_long.cpp b/src/USER-CGSDK/pair_lj_sdk_coul_long.cpp
index e1be18c6a86dfbaf8431832d706aa8c38b132e02..c51235518b38ccbe5057ecc4d838aa6827c842f6 100644
--- a/src/USER-CGSDK/pair_lj_sdk_coul_long.cpp
+++ b/src/USER-CGSDK/pair_lj_sdk_coul_long.cpp
@@ -34,7 +34,7 @@
 #include "memory.h"
 #include "error.h"
 
-#define LMP_NEED_FIND_SDK_LJ_TYPE 1
+#define LMP_NEED_SDK_FIND_LJ_TYPE 1
 #include "lj_sdk_common.h"
 
 using namespace LAMMPS_NS;