X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fos.h;h=c29bd59ea5df387b8ca6cc9a96c2ad872d26b6d9;hb=4893c48a2b4ec84cf94ff75cefde767ca26bcf6e;hp=8a81971cecf236408baf230a005d6dd2908a7517;hpb=27cabaafe176d72d9bd634f4bd7680d7337a3f69;p=bertos.git diff --git a/bertos/cfg/os.h b/bertos/cfg/os.h index 8a81971c..c29bd59e 100644 --- a/bertos/cfg/os.h +++ b/bertos/cfg/os.h @@ -41,8 +41,8 @@ #define DEVLIB_OS_H /** Macro to include OS-specific versions of the headers. */ -#define OS_HEADER(module) PP_STRINGIZE(PP_CAT3(module, _, OS_ID).h) -#define OS_CSOURCE(module) PP_STRINGIZE(PP_CAT3(module, _, OS_ID).c) +#define OS_HEADER(module) PP_STRINGIZE(emul/PP_CAT3(module, _, OS_ID).h) +#define OS_CSOURCE(module) PP_STRINGIZE(emul/PP_CAT3(module, _, OS_ID).c) /* * OS autodetection (Some systems trigger multiple OS definitions) @@ -135,7 +135,7 @@ * We want Qt and other frameworks to look like OSes because you would * tipically want their portable abstractions if you're using one of these. */ -#if defined(_QT) +#if defined(_QT) || (defined(ARCH_QT) && (ARCH & ARCH_QT)) #define OS_QT 1 #undef OS_ID #define OS_ID qt