projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b60de44
)
add functions for embedded
author
xoviat
<xoviat@users.noreply.github.com>
Sun, 24 Jan 2021 04:12:17 +0000
(22:12 -0600)
committer
xoviat
<xoviat@users.noreply.github.com>
Sun, 24 Jan 2021 04:12:17 +0000
(22:12 -0600)
driver/others/memory.c
patch
|
blob
|
history
diff --git
a/driver/others/memory.c
b/driver/others/memory.c
index
2fb1f1f
..
b430fd5
100644
(file)
--- a/
driver/others/memory.c
+++ b/
driver/others/memory.c
@@
-1673,6
+1673,11
@@
void gotoblas_dummy_for_PGI(void) {
#define ALLOC_MALLOC
#else
#define ALLOC_MALLOC
+
+inline int puts(const char *str) { return 0; }
+inline int printf(const char *format, ...) { return 0; }
+inline char *getenv(const char *name) { return ""; }
+inline int atoi(const char *str) { return 0; }
#endif
#include <stdlib.h>