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:
parent
8631b4f7c0
commit
72d9ef5875
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue