From 8068c1e2a5abdf77e5fda9cef49dbf178235b91f Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Mon, 4 Jan 2016 17:38:22 -0700 Subject: [PATCH] Revert "add source for "racket-playsound.exe"" This reverts commit e08188aeda8c419b741313ef34ef0e49ac6eb6a4. New implementation of `play-sound` doesn't need it. --- racket/src/native-libs/README.txt | 3 --- racket/src/native-libs/playsound.c | 10 ---------- 2 files changed, 13 deletions(-) delete mode 100644 racket/src/native-libs/playsound.c diff --git a/racket/src/native-libs/README.txt b/racket/src/native-libs/README.txt index 5ce71afdc7..8d174f7e68 100644 --- a/racket/src/native-libs/README.txt +++ b/racket/src/native-libs/README.txt @@ -155,9 +155,6 @@ More details for Windows: uses `-static-libgcc' and `-static-libstdc++' to statically link those libraries. Use "depends.exe" to check DLL dependencies. - * The extra "playsound.c" program is meant to be compiled to - "racket-playsound.exe" for the "gui" library. - More details for Mac OS X: * 32-bit binaries are built for 10.5 and up. 64-bit binaries are diff --git a/racket/src/native-libs/playsound.c b/racket/src/native-libs/playsound.c deleted file mode 100644 index 329fb3b50f..0000000000 --- a/racket/src/native-libs/playsound.c +++ /dev/null @@ -1,10 +0,0 @@ -#include - -/* Doesn't attempt to parse the command line in the usual way. - Instead, the whole command-line is used as a path of a - sound file to play. */ - -int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR ignored, int nCmdShow) -{ - return PlaySoundW(GetCommandLineW(), NULL, SND_SYNC); -}