ECR #333755 - Fixed a compilation problem under windows.

[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1133835]
This commit is contained in:
Ding, Wei (xN/A) TX
2015-03-24 11:19:53 -05:00
parent 2206607f27
commit 0774fe35b0
+10 -2
View File
@@ -8,15 +8,23 @@
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <x86intrin.h>
#include <intrin.h>
#include <string.h>
#include <iostream>
#include <vector>
#include <string>
using namespace std;
#if defined(__GNUC__)
#include <sys/time.h>
#include <x86intrin.h>
#endif
#if defined(_MSC_VER)
#include <time.h>
#include <windows.h>
#include <intrin.h>
#endif
#define HSA_FAILURE 1
#define HSA_SUCCESS 0