Simplify compiling GPU code for tests
[gromacs.git] / src / gromacs / selection / scanner.patch
blob50b6185de3c48348fe483ba98c126674915e36e3
1 --- scanner.cpp 2014-08-12 22:12:01.000000000 +0300
2 +++ scanner.cpp 2014-08-12 22:17:03.000000000 +0300
3 @@ -331,7 +331,7 @@
5 #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
7 -#define _gmx_sel_yywrap(yyscanner) (/*CONSTCOND*/1)
8 +static inline int _gmx_sel_yywrap(yyscan_t yyscanner) { return 1; }
9 #define YY_SKIP_YYWRAP
11 typedef unsigned char YY_CHAR;