Browse Source

add functions for embedded

tags/v0.3.14^2
xoviat 5 years ago
parent
commit
2e8d6e8690
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      driver/others/memory.c

+ 5
- 0
driver/others/memory.c 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>


Loading…
Cancel
Save