From: William F. <wsf...@us...> - 2006-03-05 00:39:01
|
Update of /cvsroot/swig/SWIG/Examples/tcl/variables In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11537/tcl/variables Modified Files: example.c Log Message: remove sprintf deprecated message Index: example.c =================================================================== RCS file: /cvsroot/swig/SWIG/Examples/tcl/variables/example.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** example.c 15 Jun 2004 20:12:22 -0000 1.4 --- example.c 5 Mar 2006 00:38:54 -0000 1.5 *************** *** 3,6 **** --- 3,11 ---- /* I'm a file containing some C global variables */ + /* Deal with Microsoft's attempt at deprecating C standard runtime functions */ + #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) + # define _CRT_SECURE_NO_DEPRECATE + #endif + #include <stdio.h> #include <stdlib.h> |