mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Use POSIX macros for linux
This commit is contained in:
parent
164e695cd0
commit
4f5e7fe5e3
265 changed files with 394 additions and 394 deletions
|
|
@ -72,7 +72,7 @@ main(int argc, char **argv)
|
|||
}
|
||||
|
||||
/* init data... */
|
||||
#if defined(linux) || defined(sun) || defined(CSRG_BASED)
|
||||
#if defined(__linux__) || defined(sun) || defined(CSRG_BASED)
|
||||
(void) memset((void *) &myaddr_in, (int) '\0', sizeof(myaddr_in));
|
||||
#else
|
||||
(void) memset(myaddr_in, '\0', sizeof(myaddr_in));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue