From 4fc7465a8f8930af843c5f0851ccd4ca965148da Mon Sep 17 00:00:00 2001 From: Christoph von Wittich Date: Tue, 23 Jan 2007 21:48:31 +0000 Subject: [PATCH] replace _sleep with Sleep to fix the gcc 4.x build svn path=/trunk/; revision=25606 --- reactos/dll/cpl/intl_new/currency.c | 2 +- reactos/dll/cpl/intl_new/date.c | 2 +- reactos/dll/cpl/intl_new/nums.c | 2 +- reactos/dll/cpl/intl_new/time.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/reactos/dll/cpl/intl_new/currency.c b/reactos/dll/cpl/intl_new/currency.c index ab3e68017c6..670b05cdfd0 100644 --- a/reactos/dll/cpl/intl_new/currency.c +++ b/reactos/dll/cpl/intl_new/currency.c @@ -715,7 +715,7 @@ CurrencyOptsSetProc(HWND hwndDlg, InitNegCurrencySumCB(hwndDlg); /* FIXME: */ - _sleep(15); + Sleep(15); UpdateCurrencyLocaleSamples(hwndDlg, LOCALE_USER_DEFAULT); } } diff --git a/reactos/dll/cpl/intl_new/date.c b/reactos/dll/cpl/intl_new/date.c index 83e7eb50506..66ad93af28f 100644 --- a/reactos/dll/cpl/intl_new/date.c +++ b/reactos/dll/cpl/intl_new/date.c @@ -596,7 +596,7 @@ DateOptsSetProc(HWND hwndDlg, if(!SetLongDateFormat(hwndDlg)) break; InitShortDateCB(hwndDlg); /* FIXME: */ - _sleep(15); + Sleep(15); UpdateDateLocaleSamples(hwndDlg, LOCALE_USER_DEFAULT); } } diff --git a/reactos/dll/cpl/intl_new/nums.c b/reactos/dll/cpl/intl_new/nums.c index 94516979ad2..c19db00f0fb 100644 --- a/reactos/dll/cpl/intl_new/nums.c +++ b/reactos/dll/cpl/intl_new/nums.c @@ -837,7 +837,7 @@ NumsOptsSetProc(HWND hwndDlg, InitNegNumFmtCB(hwndDlg); /* FIXME: */ - _sleep(15); + Sleep(15); /* Update sum format samples */ UpdateNumSamples(hwndDlg, LOCALE_USER_DEFAULT); } diff --git a/reactos/dll/cpl/intl_new/time.c b/reactos/dll/cpl/intl_new/time.c index c07505d339d..84b4c75c9f2 100644 --- a/reactos/dll/cpl/intl_new/time.c +++ b/reactos/dll/cpl/intl_new/time.c @@ -523,7 +523,7 @@ TimeOptsSetProc(HWND hwndDlg, /* FIXME: */ - _sleep(15); + Sleep(15); UpdateTimeLocaleSamples(hwndDlg, LOCALE_USER_DEFAULT); } }