Skip to main content

Search

Items tagged with: define


Temporarily change current working directory, return safely.

Changes for 0.05 - 2024-01-27

  • Added #define NEED_caller_cx to XS to silence some cpantesters.


Those memories:

"/* A string is TRUE if not "" or "0". */
#define True(val) (tmps = (val), (*tmps && !(*tmps == '0' && !tmps[1])))"


I seem to need to #include "syscall_emulator.h" and #define syscall syscall_emulator. The latter I can do with a cc flag or whatever, but the former complained about not having the definition. Making coffee now, so can't actually reproduce the error, though, but I'll try a few things.