diff options
author | Javier <dev.git@javispedro.com> | 2022-01-30 20:02:28 +0100 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2022-01-30 20:02:28 +0100 |
commit | 7bb77279bf5b76902c167923d57800e1f6f6073e (patch) | |
tree | 9c23a39b3ea2e6af094240780ce21206602a0c11 /Mpu401.cpp | |
parent | 54b754ce040d5549d5c58428d2b9c095601e98dc (diff) | |
download | vmusic-7bb77279bf5b76902c167923d57800e1f6f6073e.tar.gz vmusic-7bb77279bf5b76902c167923d57800e1f6f6073e.zip |
Cleaning up Adlib module
Diffstat (limited to 'Mpu401.cpp')
-rw-r--r-- | Mpu401.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -51,14 +51,15 @@ #define LOG_ENABLE_FLOW 1 #define LOG_GROUP LOG_GROUP_DEV_SB16 #include <VBox/vmm/pdmdev.h> -#ifndef IN_RING3 -# include <VBox/vmm/pdmapi.h> -#endif #include <VBox/AssertGuest.h> #include <VBox/version.h> #include <iprt/assert.h> #include <iprt/mem.h> +#ifndef IN_RING3 +#error "R3-only driver" +#endif + #if RT_OPSYS == RT_OPSYS_LINUX #include "midialsa.h" typedef MIDIOutAlsa MIDIOutBackend; |