OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-CompactHash commits / dec8b74

Fixing multiple uint typedef
dec8b74961b0c38812450568f40fa8b8532a42f4
by Bob Robey <brobey@lanl.gov> · 2015-10-24T23:21:59.000Z

Changed files (3) +13 -0

HashFactory/HashFactory.h +5 -0
……@@ -45,6 +45,11 @@
4545#include <stdarg.h>
4646#include <string.h>
4747//
48#ifndef UINT_TYPE
49#define UINT_TYPE
50typedef unsigned int uint;
51#endif
52//
4853#ifdef HAVE_OPENCL
4954#ifdef __APPLE_CC__
5055#include <OpenCL/OpenCL.h>
HashFactory/HashFactory.hp +5 -0
……@@ -55,6 +55,11 @@ DELAY(#include <stdio.h>)
5555DELAY(#include <stdarg.h>)
5656DELAY(#include <string.h>)
5757//
58DELAY(#ifndef UINT_TYPE)
59DELAY(#define UINT_TYPE)
60typedef unsigned int uint;
61DELAY(#endif)
62//
5863DELAY(#ifdef HAVE_OPENCL)
5964DELAY(#ifdef __APPLE_CC__)
6065DELAY(#include <OpenCL/OpenCL.h>)
simplehash/simplehash.h +3 -0
……@@ -57,7 +57,10 @@ extern "C"
5757{
5858#endif
5959
60#ifndef UINT_TYPE
61#define UINT_TYPE
6062typedef unsigned int uint;
63#endif
6164typedef unsigned long ulong;
6265
6366int *compact_hash_init(int ncells, uint isize, uint jsize, uint report_level);