Add linux to list of platforms that use that form of memset()
This commit is contained in:
@@ -71,7 +71,7 @@ main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* init data... */
|
/* init data... */
|
||||||
#if defined(USL) || defined(__uxp__)
|
#if defined(USL) || defined(__uxp__) || defined(linux)
|
||||||
(void) memset((void *) &myaddr_in, (int) '\0', sizeof(myaddr_in));
|
(void) memset((void *) &myaddr_in, (int) '\0', sizeof(myaddr_in));
|
||||||
#else
|
#else
|
||||||
(void) memset(myaddr_in, '\0', sizeof(myaddr_in));
|
(void) memset(myaddr_in, '\0', sizeof(myaddr_in));
|
||||||
|
|||||||
Reference in New Issue
Block a user