Add linux to list of platforms that use that form of memset()
This commit is contained in:
parent
8631b4f7c0
commit
72d9ef5875
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Reference in New Issue