1
0
mirror of https://github.com/google/cpu_features.git synced 2025-07-02 13:43:18 +02:00

Use CPU_FEATURES_ prefix for namespace macros.

This commit is contained in:
Guillaume Chatelet
2018-02-12 16:15:15 +01:00
parent 8bace7000c
commit e419573d10
12 changed files with 26 additions and 26 deletions

View File

@ -78,15 +78,15 @@
////////////////////////////////////////////////////////////////////////////////
#if defined(__cplusplus)
#define START_CPP_NAMESPACE \
#define CPU_FEATURES_START_CPP_NAMESPACE \
namespace cpu_features { \
extern "C" {
#define END_CPP_NAMESPACE \
#define CPU_FEATURES_END_CPP_NAMESPACE \
} \
}
#else
#define START_CPP_NAMESPACE
#define END_CPP_NAMESPACE
#define CPU_FEATURES_START_CPP_NAMESPACE
#define CPU_FEATURES_END_CPP_NAMESPACE
#endif
////////////////////////////////////////////////////////////////////////////////