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 8, 2021
1 parent 621399c commit e5e1570
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 e5e1570

Please sign in to comment.