diff --git a/indra/llxuixml/llregistry.h b/indra/llxuixml/llregistry.h index 546cf38eb5c07263075952ffa7a816d4bf1eaf12..36ce6a97b720c75d347d972948f16fee80ce8a2f 100644 --- a/indra/llxuixml/llregistry.h +++ b/indra/llxuixml/llregistry.h @@ -346,6 +346,6 @@ class LLRegistrySingleton // helper macro for doing static registration #define GLUED_TOKEN(x, y) x ## y #define GLUE_TOKENS(x, y) GLUED_TOKEN(x, y) -#define LLREGISTER_STATIC(REGISTRY, KEY, VALUE) static REGISTRY::StaticRegistrar GLUE_TOKENS(reg, __COUNTER__)(KEY, VALUE); +#define LLREGISTER_STATIC(REGISTRY, KEY, VALUE) static REGISTRY::StaticRegistrar GLUE_TOKENS(reg, __LINE__)(KEY, VALUE); #endif