add functions for embedded

This commit is contained in:
xoviat 2021-01-23 22:12:17 -06:00
parent b60de4447a
commit 2e8d6e8690
1 changed files with 5 additions and 0 deletions

View File

@ -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>