Author Topic: eexternal run-time  (Read 2846 times)


  • Guest
eexternal run-time
« 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.

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2181
eexternal run-time
« Reply #1 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