Skip to content
Myr

stb_c_lexer: don't define default macro definitions on non-implementation includes

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Sean Barrett · committed by Sean Barrett · parent 84e7a4a · Browse files · 1 file+2 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−0 removed

  • other:+2 added−0 removed

1 file+2 added−0 removed

modified:stb_c_lexer.h+2 added
40 unmodified lines
41// LICENSE42//43// See end of file for license information.4445#ifdef STB_C_LEXER_IMPLEMENTATION46#ifndef STB_C_LEXER_DEFINITIONS47// to change the default parsing rules, copy the following lines48// into your C/C++ file *before* including this, and then replace49// the Y's with N's for the ones you don't want.
47 unmodified lines
97#define STB_C_LEXER_DEFINITIONS // This line prevents the header file from replacing your definitions98// --END--99100#endif101#endif102103#ifndef INCLUDE_STB_C_LEXER_H104#define INCLUDE_STB_C_LEXER_H105
863 unmodified lines