Changeset 8958


Ignore:
Timestamp:
Mar 30, 2008, 8:08:01 AM (11 years ago)
Author:
gb
Message:

Include header for, initialize winsock.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/win64/lisp-kernel/pmcl-kernel.c

    r8845 r8958  
    116116
    117117#ifdef WINDOWS
     118#include <windows.h>
    118119#include <stdio.h>
    119120void
     
    742743#ifdef WINDOWS
    743744  extern BOOL ControlEventHandler(DWORD);
     745
     746  signal(SIGINT, SIG_IGN);
    744747
    745748  SetConsoleCtrlHandler(ControlEventHandler,TRUE);
     
    13771380
    13781381#ifdef WINDOWS
     1382  extern void init_winsock(void);
     1383
    13791384  _fmode = O_BINARY;
    13801385  setvbuf(stderr, NULL, _IONBF, 0);
     1386  init_winsock();
    13811387#endif
    13821388
     
    17621768}
    17631769
    1764 #ifdef WINDOWS
    17651770int
    17661771do_fd_is_set(int fd, fd_set *fdsetp)
    17671772{
    1768 }
    1769 #else
    1770 int
    1771 do_fd_is_set(int fd, fd_set *fdsetp)
    1772 {
    17731773  return FD_ISSET(fd,fdsetp);
    17741774}
    1775 #endif
     1775
    17761776
    17771777void
Note: See TracChangeset for help on using the changeset viewer.