Include assert.h during C compilation (#4)
Fix for https://github.com/ROCm/ROCm/issues/3997. When compiling a C program that includes rdc/rdc.h, multiple assertion errors are thrown without this header included.
Change-Id: Ie5b5c1a1a17c8207cf9b1be23b31193e260d5c1a
Co-authored-by: harkgill-amd <harkgill@amd.com>
[ROCm/rdc commit: 83f36f1673]
Цей коміт міститься в:
зафіксовано
GitHub
джерело
8a698a7e23
коміт
78f37c1784
@@ -41,6 +41,7 @@ extern "C" {
|
||||
#else
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <assert.h>
|
||||
#endif // __cplusplus
|
||||
|
||||
/** \file rdc.h
|
||||
|
||||
Посилання в новій задачі
Заблокувати користувача