diff --git a/interfaces/Crafter.Graphics-Shm.cppm b/interfaces/Crafter.Graphics-Shm.cppm index 81745d3..002b26f 100644 --- a/interfaces/Crafter.Graphics-Shm.cppm +++ b/interfaces/Crafter.Graphics-Shm.cppm @@ -25,7 +25,9 @@ export module Crafter.Graphics:Shm; import std; export namespace Crafter { + #ifdef CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_pc_linux_gnu void randname(char *buf); int anonymous_shm_open(); int create_shm_file(off_t size); + #endif } \ No newline at end of file