CR: renaming var to be more general

// FREEBIE
This commit is contained in:
Michael Kirk 2017-06-28 07:32:31 -10:00
parent e652dff4b4
commit 1b9aae2ea6
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ post_install do |installer|
existing_definitions = "$(inheritied)"
end
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] = "#{existing_definitions} SSK_NO_ENFORCE_SINGLETONS=1"
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] = "#{existing_definitions} SSK_BUILDING_FOR_TESTS=1"
end
end
end

View file

@ -71,7 +71,7 @@
// 1. Use OWSSingletonAssertFlag() outside the class definition.
// 2. Use OWSSingletonAssertInit() in each initializer.
#ifndef SSK_NO_ENFORCE_SINGLETONS
#ifndef SSK_BUILDING_FOR_TESTS
#ifdef DEBUG
#define ENFORCE_SINGLETONS