NO

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

Anonymous

  • 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: 2266
    • http://www.smorgasbordet.com
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


Pelle
/Pelle