Skip to content

Commit

Permalink
public: redeclare ParseFile flags to be exactly same as in exported A…
Browse files Browse the repository at this point in the history
…PI headers
  • Loading branch information
a1batross committed Oct 3, 2021
1 parent b722668 commit 32d5db8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions public/crtlib.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@ enum
TIME_FILENAME,
};

#define PFILE_IGNOREBRACKET BIT( 0 )
#define PFILE_HANDLECOLON BIT( 1 )
// a1ba: not using BIT macro, so flags can be copypasted into
// exported APIs headers and will get nice warning in case of changing values
#define PFILE_IGNOREBRACKET (1<<0)
#define PFILE_HANDLECOLON (1<<1)

//
// crtlib.c
Expand Down

0 comments on commit 32d5db8

Please sign in to comment.