ECR #333755 - Fixed a compilation problem under windows.

[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1133835]
Ta zmiana jest zawarta w:
%! (template.HTML=Ding, Wei (xN/A) TX)złożyło 2015-03-24 11:19:53 -05:00
1 rodzic 2206607f27
złożenie 0774fe35b0
Plik 1 zmieniony
+10 -2
+10 -2
Wyświetl plik
@@ -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