Fix segfault in related to weak-hash-check on CPU devices
Move typedef for bool datatype to common.h
This commit is contained in:
@@ -93,6 +93,8 @@ void log_out (FILE *fp, const char *fmt, ...);
|
||||
void log_info (const char *fmt, ...);
|
||||
void log_error (const char *fmt, ...);
|
||||
|
||||
typedef int bool; // this is ugly but ADL requires the bool datatype
|
||||
|
||||
typedef uint32_t uint; // we should rename to u32, sooner or later, for consistency
|
||||
typedef uint64_t u64;
|
||||
|
||||
|
||||
@@ -8,10 +8,6 @@
|
||||
|
||||
#include <common.h>
|
||||
|
||||
// this is ugly but ADL requires the bool datatype
|
||||
|
||||
typedef int bool;
|
||||
|
||||
#include <adl_sdk.h>
|
||||
|
||||
typedef int HM_ADAPTER_AMD;
|
||||
|
||||
@@ -1904,8 +1904,6 @@ void hc_signal (void c (int));
|
||||
|
||||
#endif
|
||||
|
||||
typedef int bool;
|
||||
|
||||
bool class_num (char c);
|
||||
bool class_lower (char c);
|
||||
bool class_upper (char c);
|
||||
|
||||
Reference in New Issue
Block a user