Undefine a macro after use.
authorDejan Mircevski <deki@google.com>
Thu, 7 Jan 2016 16:00:38 +0000 (11:00 -0500)
committerDejan Mircevski <deki@google.com>
Thu, 7 Jan 2016 16:00:38 +0000 (11:00 -0500)
source/operand.cpp

index bcb372a..be20022 100644 (file)
@@ -1121,6 +1121,8 @@ spv_result_t spvOperandTableGet(spv_operand_table* pOperandTable) {
   return SPV_SUCCESS;
 }
 
+#undef ARRAY_SIZE
+
 spv_result_t spvOperandTableNameLookup(const spv_operand_table table,
                                        const spv_operand_type_t type,
                                        const char* name,