1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 16:53:09 +00:00

Retire platform specifics include in misc.cpp

Now that platform.h is included in types.h we
don't need this stuff anymore.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba 2012-04-01 12:00:15 +01:00
parent 6e00aa6bae
commit 72641dcaae

View file

@ -17,24 +17,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#if defined(_WIN32) || defined(_WIN64)
#define NOMINMAX // disable macros min() and max()
#include <windows.h>
#else
# include <unistd.h>
# if defined(__hpux)
# include <sys/pstat.h>
# endif
#endif
#if !defined(NO_PREFETCH)
# include <xmmintrin.h>
#endif
#include <iomanip>
#include <iostream>
#include <sstream>
@ -42,6 +24,10 @@
#include "misc.h"
#include "thread.h"
#if defined(__hpux)
# include <sys/pstat.h>
#endif
using namespace std;
/// Version number. If Version is left empty, then Tag plus current
@ -219,6 +205,8 @@ void prefetch(char*) {}
#else
# include <xmmintrin.h>
void prefetch(char* addr) {
# if defined(__INTEL_COMPILER) || defined(__ICL)