mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
dc51d89ac2
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.
15 lines
325 B
C++
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
|