Files
mruby-mruby/include/mruby/presym.inc
T
Yukihiro "Matz" Matsumoto dc51d89ac2 Minimize the changes in #5277
Instead of including `mruby/presym.h` everywhere, we provided the
fallback `mruby/presym.inc` under `include/mruby` directory, and specify
`-I<build-dir>/include` before `-I<top-dir>/include` in `presym.rake`.
So even when someone drops `-I<build-dir>/include` in compiler options,
it just compiles without failure.
2021-01-22 18:38:53 +09:00

15 lines
325 B
C++

/**
** @file mruby/presym.inc - Fallback file for Preallocated Symbols
**
** See Copyright Notice in mruby.h
*/
/*
* Reading this file means you failed to specify `-I<build-dir>/include`
* in the configuration. I will not use `PRESYM*` macros for compilation.
*/
# error "mruby/presym.h"
1 1 + + d
#define MRB_NO_PRESYM