Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r66048 - sandbox/chrono/boost/detail/win
From: vicente.botet_at_[hidden]
Date: 2010-10-17 16:18:12


Author: viboes
Date: 2010-10-17 16:18:08 EDT (Sun, 17 Oct 2010)
New Revision: 66048
URL: http://svn.boost.org/trac/boost/changeset/66048

Log:
Chrono: Cleanup
Text files modified:
   sandbox/chrono/boost/detail/win/GetCurrentProcess.hpp | 27 ---------------------------
   sandbox/chrono/boost/detail/win/GetCurrentThread.hpp | 27 ---------------------------
   sandbox/chrono/boost/detail/win/GetLastError.hpp | 27 ---------------------------
   sandbox/chrono/boost/detail/win/basic_types.hpp | 10 ----------
   sandbox/chrono/boost/detail/win/system.hpp | 27 ---------------------------
   sandbox/chrono/boost/detail/win/time.hpp | 29 -----------------------------
   6 files changed, 0 insertions(+), 147 deletions(-)

Modified: sandbox/chrono/boost/detail/win/GetCurrentProcess.hpp
==============================================================================
--- sandbox/chrono/boost/detail/win/GetCurrentProcess.hpp (original)
+++ sandbox/chrono/boost/detail/win/GetCurrentProcess.hpp 2010-10-17 16:18:08 EDT (Sun, 17 Oct 2010)
@@ -30,33 +30,6 @@
 }
 
 #elif defined( WIN32 ) || defined( _WIN32 ) || defined( __WIN32__ )
-# include <WinError.h>
-//# define WINAPI __stdcall
-
-// @FIXME Which condition must be tested
-# ifdef UNDER_CE
-# ifndef WINAPI
-# ifndef _WIN32_WCE_EMULATION
-# define WINAPI __cdecl // Note this doesn't match the desktop definition
-# else
-# define WINAPI __stdcall
-# endif
-# endif
-
-# ifdef __cplusplus
-extern "C" {
-# endif
-
-
-
-# ifdef __cplusplus
-}
-# endif
-# else
-# ifndef WINAPI
-# define WINAPI __stdcall
-# endif
-# endif
 
 namespace boost
 {

Modified: sandbox/chrono/boost/detail/win/GetCurrentThread.hpp
==============================================================================
--- sandbox/chrono/boost/detail/win/GetCurrentThread.hpp (original)
+++ sandbox/chrono/boost/detail/win/GetCurrentThread.hpp 2010-10-17 16:18:08 EDT (Sun, 17 Oct 2010)
@@ -32,33 +32,6 @@
 }
 
 #elif defined( WIN32 ) || defined( _WIN32 ) || defined( __WIN32__ )
-# include <WinError.h>
-//# define WINAPI __stdcall
-
-// @FIXME Which condition must be tested
-# ifdef UNDER_CE
-# ifndef WINAPI
-# ifndef _WIN32_WCE_EMULATION
-# define WINAPI __cdecl // Note this doesn't match the desktop definition
-# else
-# define WINAPI __stdcall
-# endif
-# endif
-
-# ifdef __cplusplus
-extern "C" {
-# endif
-
-
-
-# ifdef __cplusplus
-}
-# endif
-# else
-# ifndef WINAPI
-# define WINAPI __stdcall
-# endif
-# endif
 
 namespace boost
 {

Modified: sandbox/chrono/boost/detail/win/GetLastError.hpp
==============================================================================
--- sandbox/chrono/boost/detail/win/GetLastError.hpp (original)
+++ sandbox/chrono/boost/detail/win/GetLastError.hpp 2010-10-17 16:18:08 EDT (Sun, 17 Oct 2010)
@@ -32,33 +32,6 @@
 }
 
 #elif defined( WIN32 ) || defined( _WIN32 ) || defined( __WIN32__ )
-# include <WinError.h>
-//# define WINAPI __stdcall
-
-// @FIXME Which condition must be tested
-# ifdef UNDER_CE
-# ifndef WINAPI
-# ifndef _WIN32_WCE_EMULATION
-# define WINAPI __cdecl // Note this doesn't match the desktop definition
-# else
-# define WINAPI __stdcall
-# endif
-# endif
-
-# ifdef __cplusplus
-extern "C" {
-# endif
-
-
-
-# ifdef __cplusplus
-}
-# endif
-# else
-# ifndef WINAPI
-# define WINAPI __stdcall
-# endif
-# endif
 
 namespace boost
 {

Modified: sandbox/chrono/boost/detail/win/basic_types.hpp
==============================================================================
--- sandbox/chrono/boost/detail/win/basic_types.hpp (original)
+++ sandbox/chrono/boost/detail/win/basic_types.hpp 2010-10-17 16:18:08 EDT (Sun, 17 Oct 2010)
@@ -60,16 +60,6 @@
 # define WINAPI __stdcall
 # endif
 # endif
-
-# ifdef __cplusplus
-extern "C" {
-# endif
-
-
-
-# ifdef __cplusplus
-}
-# endif
 # else
 # ifndef WINAPI
 # define WINAPI __stdcall

Modified: sandbox/chrono/boost/detail/win/system.hpp
==============================================================================
--- sandbox/chrono/boost/detail/win/system.hpp (original)
+++ sandbox/chrono/boost/detail/win/system.hpp 2010-10-17 16:18:08 EDT (Sun, 17 Oct 2010)
@@ -52,33 +52,6 @@
 }
 
 #elif defined( WIN32 ) || defined( _WIN32 ) || defined( __WIN32__ )
-# include <WinError.h>
-//# define WINAPI __stdcall
-
-// @FIXME Which condition must be tested
-# ifdef UNDER_CE
-# ifndef WINAPI
-# ifndef _WIN32_WCE_EMULATION
-# define WINAPI __cdecl // Note this doesn't match the desktop definition
-# else
-# define WINAPI __stdcall
-# endif
-# endif
-
-# ifdef __cplusplus
-extern "C" {
-# endif
-
-
-
-# ifdef __cplusplus
-}
-# endif
-# else
-# ifndef WINAPI
-# define WINAPI __stdcall
-# endif
-# endif
 
 namespace boost
 {

Modified: sandbox/chrono/boost/detail/win/time.hpp
==============================================================================
--- sandbox/chrono/boost/detail/win/time.hpp (original)
+++ sandbox/chrono/boost/detail/win/time.hpp 2010-10-17 16:18:08 EDT (Sun, 17 Oct 2010)
@@ -33,39 +33,11 @@
             
             using ::QueryPerformanceCounter;
             using ::QueryPerformanceFrequency;
-
         }
     }
 }
 
 #elif defined( WIN32 ) || defined( _WIN32 ) || defined( __WIN32__ )
-# include <WinError.h>
-//# define WINAPI __stdcall
-
-// @FIXME Which condition must be tested
-# ifdef UNDER_CE
-# ifndef WINAPI
-# ifndef _WIN32_WCE_EMULATION
-# define WINAPI __cdecl // Note this doesn't match the desktop definition
-# else
-# define WINAPI __stdcall
-# endif
-# endif
-
-# ifdef __cplusplus
-extern "C" {
-# endif
-
-
-
-# ifdef __cplusplus
-}
-# endif
-# else
-# ifndef WINAPI
-# define WINAPI __stdcall
-# endif
-# endif
 
 namespace boost
 {
@@ -126,7 +98,6 @@
                     QueryPerformanceFrequency(
                       LARGE_INTEGER_ *lpFrequency
                     );
-
             }
         }
     }


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk