* device/lib/Makefile.in: reenable floating point in model-xstack-auto
[fw/sdcc] / device / lib / atanf.c
index 135c3f90f7bd17c2e65de5b00973f0f070bf71d8..f254ae20b5dbbc524cc261ce8f0c591d2c2429cf 100644 (file)
@@ -37,7 +37,7 @@
 #define K3  1.7320508076 /* sqrt(3)   */
 
 #ifdef SDCC_mcs51
-   #define myconst code
+   #define myconst __code
 #else
    #define myconst const
 #endif
@@ -73,4 +73,3 @@ float atanf(const float x) _FLOAT_FUNC_REENTRANT
     if(x<0.0) r=-r;
     return r;
 }
-