Created
March 4, 2022 09:39
-
-
Save XanClic/218515d0fccfd10870a3dc740327f0a0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/include/sysemu/os-win32.h b/include/sysemu/os-win32.h | |
index 68af96907e..d865459a2b 100644 | |
--- a/include/sysemu/os-win32.h | |
+++ b/include/sysemu/os-win32.h | |
@@ -79,7 +79,11 @@ int qemu_gettimeofday(qemu_timeval *tp); | |
static inline int os_set_daemonize(bool d) | |
{ | |
- return -ENOTSUP; | |
+ if (d) { | |
+ return -ENOTSUP; | |
+ } else { | |
+ return 0; | |
+ } | |
} | |
static inline bool is_daemonized(void) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment