summaryrefslogtreecommitdiff
path: root/src/tool/moneycount/portability_fixes.cpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2012-12-12 22:40:37 -0800
committerBen Longbons <b.r.longbons@gmail.com>2012-12-12 22:43:10 -0800
commitf9563edf69f083287630f4b17db70d97524196d6 (patch)
tree495a75932bf493c4a2afb94f924e3efde4ea70a8 /src/tool/moneycount/portability_fixes.cpp
parent608f959900968e83fd25231c72308fc608742dd5 (diff)
downloadtmwa-f9563edf69f083287630f4b17db70d97524196d6.tar.gz
tmwa-f9563edf69f083287630f4b17db70d97524196d6.tar.bz2
tmwa-f9563edf69f083287630f4b17db70d97524196d6.tar.xz
tmwa-f9563edf69f083287630f4b17db70d97524196d6.zip
Delete old tools
If there was anything you actually used, tell me.
Diffstat (limited to 'src/tool/moneycount/portability_fixes.cpp')
-rw-r--r--src/tool/moneycount/portability_fixes.cpp39
1 files changed, 0 insertions, 39 deletions
diff --git a/src/tool/moneycount/portability_fixes.cpp b/src/tool/moneycount/portability_fixes.cpp
deleted file mode 100644
index e26ee28..0000000
--- a/src/tool/moneycount/portability_fixes.cpp
+++ /dev/null
@@ -1,39 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-
-// Author: Andy Rushton
-// Copyright: (c) Southampton University 1999-2004
-// (c) Andy Rushton 2004-2009
-// License: BSD License, see ../docs/license.html
-
-////////////////////////////////////////////////////////////////////////////////
-#include "portability_fixes.hpp"
-
-#ifdef MSWINDOWS
-#include "windows.h"
-#endif
-
-////////////////////////////////////////////////////////////////////////////////
-// problems with missing functions
-////////////////////////////////////////////////////////////////////////////////
-
-#ifdef MSWINDOWS
-unsigned sleep(unsigned seconds)
-{
- Sleep(1000*seconds);
- // should return remaining time if interrupted - however Windoze Sleep cannot be interrupted
- return 0;
-}
-#endif
-
-////////////////////////////////////////////////////////////////////////////////
-// Function for establishing endian-ness
-////////////////////////////////////////////////////////////////////////////////
-
-bool stlplus::little_endian(void)
-{
- int sample = 1;
- char* sample_bytes = (char*)&sample;
- return sample_bytes[0] != 0;
-}
-
-////////////////////////////////////////////////////////////////////////////////