[ros-diffs] [cwittich] 25606: replace _sleep with Sleep to fix the gcc 4.x build

cwittich at svn.reactos.org cwittich at svn.reactos.org
Tue Jan 23 22:48:32 CET 2007


Author: cwittich
Date: Wed Jan 24 00:48:31 2007
New Revision: 25606

URL: http://svn.reactos.org/svn/reactos?rev=25606&view=rev
Log:
replace _sleep with Sleep to fix the gcc 4.x build

Modified:
    trunk/reactos/dll/cpl/intl_new/currency.c
    trunk/reactos/dll/cpl/intl_new/date.c
    trunk/reactos/dll/cpl/intl_new/nums.c
    trunk/reactos/dll/cpl/intl_new/time.c

Modified: trunk/reactos/dll/cpl/intl_new/currency.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/intl_new/currency.c?rev=25606&r1=25605&r2=25606&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/intl_new/currency.c (original)
+++ trunk/reactos/dll/cpl/intl_new/currency.c Wed Jan 24 00:48:31 2007
@@ -715,7 +715,7 @@
                 InitNegCurrencySumCB(hwndDlg);
 
                 /* FIXME: */
-                _sleep(15);
+                Sleep(15);
                 UpdateCurrencyLocaleSamples(hwndDlg, LOCALE_USER_DEFAULT);
             }
         }

Modified: trunk/reactos/dll/cpl/intl_new/date.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/intl_new/date.c?rev=25606&r1=25605&r2=25606&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/intl_new/date.c (original)
+++ trunk/reactos/dll/cpl/intl_new/date.c Wed Jan 24 00:48:31 2007
@@ -596,7 +596,7 @@
                 if(!SetLongDateFormat(hwndDlg)) break;
                 InitShortDateCB(hwndDlg);
                 /* FIXME: */
-                _sleep(15);
+                Sleep(15);
                 UpdateDateLocaleSamples(hwndDlg, LOCALE_USER_DEFAULT);
             }
         }

Modified: trunk/reactos/dll/cpl/intl_new/nums.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/intl_new/nums.c?rev=25606&r1=25605&r2=25606&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/intl_new/nums.c (original)
+++ trunk/reactos/dll/cpl/intl_new/nums.c Wed Jan 24 00:48:31 2007
@@ -837,7 +837,7 @@
                 InitNegNumFmtCB(hwndDlg);
 
                 /* FIXME: */
-                _sleep(15);
+                Sleep(15);
                 /* Update sum format samples */
                 UpdateNumSamples(hwndDlg, LOCALE_USER_DEFAULT);
             }

Modified: trunk/reactos/dll/cpl/intl_new/time.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/intl_new/time.c?rev=25606&r1=25605&r2=25606&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/intl_new/time.c (original)
+++ trunk/reactos/dll/cpl/intl_new/time.c Wed Jan 24 00:48:31 2007
@@ -523,7 +523,7 @@
                 
 
                 /* FIXME: */
-                _sleep(15);
+                Sleep(15);
                 UpdateTimeLocaleSamples(hwndDlg, LOCALE_USER_DEFAULT);
             }
         }




More information about the Ros-diffs mailing list