1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

Add linux to list of platforms that use that form of memset()

This commit is contained in:
Peter Howkins 2012-03-12 14:35:03 +00:00
parent 8631b4f7c0
commit 72d9ef5875

View file

@ -71,7 +71,7 @@ main(int argc, char **argv)
}
/* init data... */
#if defined(USL) || defined(__uxp__)
#if defined(USL) || defined(__uxp__) || defined(linux)
(void) memset((void *) &myaddr_in, (int) '\0', sizeof(myaddr_in));
#else
(void) memset(myaddr_in, '\0', sizeof(myaddr_in));