Pelles C forum

Pelles C => General discussions => Topic started by: Anonymous on December 14, 2004, 01:21:08 PM

Title: eexternal run-time
Post by: Anonymous on December 14, 2004, 01:21:08 PM
It's difficult to use external run-time library for windows becouse in some headers some functions redefined to another (fo example atoi in stdlib.h).
It will be good if PellesC developer will add posibility to use some definition(for example _EXTERNCRT) that will block this defines.
Title: eexternal run-time
Post by: Pelle on December 14, 2004, 08:58:27 PM
No reason - this is very easy to solve by using #undef function after including the appropriate file(s) - this will make the true prototype visible:

Code: [Select]

#include <stdlib.h>
#undef atoi


Pelle