Port decides whether to handle a GPOINTER unqualified pointers will be treated as...
[fw/sdcc] / src / SDCCmem.h
index 3788185503a4686b8c0d15e92188100762cc7cc5..e4deb0cbcd9aaae965335b503d3d6692657ccfa3 100644 (file)
@@ -79,7 +79,7 @@ extern int maxRegBank;
 #define IN_CODESPACE(map)       (map && map->codesp)
 #define IN_REGSP(map)          (map && map->regsp)
 #define PTR_TYPE(map)           (map ? (map->ptrType ? map->ptrType : POINTER)\
-                                     : GPOINTER)
+                                     : port->unqualified_pointer)
 
 /* forward decls for functions    */
 memmap *allocMap (char, char, char, char, char, char, unsigned, const char *, char, int);