[Asterisk-cvs] asterisk utils.c,1.55,1.56
kpfleming at lists.digium.com
kpfleming at lists.digium.com
Fri Jul 15 11:30:07 CDT 2005
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv10518
Modified Files:
utils.c
Log Message:
more ifdef cleanup to match proper Linux macros
Index: utils.c
===================================================================
RCS file: /usr/cvsroot/asterisk/utils.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- utils.c 15 Jul 2005 02:28:10 -0000 1.55
+++ utils.c 15 Jul 2005 15:37:58 -0000 1.56
@@ -9,9 +9,6 @@
* the GNU General Public License
*/
-#ifdef Linux /* For strcasestr */
-#define __USE_GNU
-#endif
#include <ctype.h>
#include <string.h>
#include <unistd.h>
@@ -559,4 +556,4 @@
return memcpy(new, s, len);
}
-#endif /* !LINUX */
+#endif /* !__linux__ */
More information about the svn-commits
mailing list