diff options
author | Frediano Ziglio <fziglio@redhat.com> | 2019-01-03 14:03:38 +0000 |
---|---|---|
committer | Frediano Ziglio <freddy77@gmail.com> | 2021-01-19 13:24:55 +0000 |
commit | 0218613030226cb8e86cff126413f23c278ae815 (patch) | |
tree | 730d213682f42c61bec91893edacfafd71857676 | |
parent | 88d91ff65863cc069ab02a2e42c4a13fb161bd16 (diff) |
WIP Windows name...
-rw-r--r-- | spice/stats.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spice/stats.h b/spice/stats.h index eed8a63..44c6482 100644 --- a/spice/stats.h +++ b/spice/stats.h @@ -34,7 +34,11 @@ #include <spice/macros.h> #include <spice/types.h> +#ifndef _WIN32 #define SPICE_STAT_SHM_NAME "/spice.%u" +#else +#define SPICE_STAT_SHM_NAME "Global\\spice-stats-%u" +#endif #define SPICE_STAT_NODE_NAME_MAX 20 #define SPICE_STAT_MAGIC SPICE_MAGIC_CONST("STAT") #define SPICE_STAT_VERSION 1 |