another hack attempt to fix unit tests on windows

This commit is contained in:
ZappoMan 2014-06-24 20:10:06 -07:00
parent 1001ea5f87
commit fd3916e662
2 changed files with 7 additions and 15 deletions

View file

@ -12,11 +12,7 @@
#ifndef hifi_ModelItem_h
#define hifi_ModelItem_h
#include <cstring> // ???
#include <stddef.h>
#include <stdio.h> // for ssize_t
#include <stdint.h>
#include <stdlib.h>
#include <glm/glm.hpp>
@ -27,15 +23,8 @@
#include <CollisionInfo.h>
#include <SharedUtil.h>
#include <OctreePacketData.h>
#include <OctreeEditPacketSender.h>
//#include <assert.h>
//#include <PerfStat.h>
#include <OctalCode.h>
#include <PacketHeaders.h>
//#include "ModelEditPacketSender.h"
class ModelItem;
class ModelEditPacketSender;
class ModelItemProperties;

View file

@ -14,7 +14,13 @@
#include <QDebug>
#if 1
#ifdef WIN32
#ifndef ssize_t
#define ssize_t int
#endif
#endif
#include <Octree.h>
#include <ModelItem.h>
#include <ModelTree.h>
@ -22,12 +28,10 @@
#include <OctreeConstants.h>
#include <PropertyFlags.h>
#include <SharedUtil.h>
#endif
#include "ModelTests.h"
void ModelTests::modelTreeTests(bool verbose) {
#if 1
int testsTaken = 0;
int testsPassed = 0;
int testsFailed = 0;
@ -258,7 +262,6 @@ void ModelTests::modelTreeTests(bool verbose) {
if (verbose) {
qDebug() << "******************************************************************************************";
}
#endif
}