diff options
Diffstat (limited to 'src/sound.c')
-rw-r--r-- | src/sound.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sound.c b/src/sound.c index b9a794b6a42..f5f570190ca 100644 --- a/src/sound.c +++ b/src/sound.c @@ -310,12 +310,13 @@ sound_perror (const char *msg) } #endif if (saved_errno != 0) - error ("%s: %s", msg, strerror (saved_errno)); + error ("%s: %s", msg, emacs_strerror (saved_errno)); else error ("%s", msg); } +#ifndef WINDOWSNT /* Display a warning message. */ static void @@ -323,6 +324,7 @@ sound_warning (const char *msg) { message1 (msg); } +#endif /* !WINDOWSNT */ /* Parse sound specification SOUND, and fill ATTRS with what is |