~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

Viewing changes to erts/emulator/beam/erl_posix_str.c

  • Committer: Bazaar Package Importer
  • Author(s): Erlang Packagers, Sergei Golovan
  • Date: 2006-12-03 17:07:44 UTC
  • mfrom: (2.1.11 feisty)
  • Revision ID: james.westby@ubuntu.com-20061203170744-rghjwupacqlzs6kv
Tags: 1:11.b.2-4
[ Sergei Golovan ]
Fixed erlang-base and erlang-base-hipe prerm scripts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#endif
20
20
 
21
21
#ifdef __WIN32__
 
22
#ifndef WINDOWS_H_INCLUDES_WINSOCK2_H
22
23
#include <winsock2.h>
 
24
#endif
23
25
#include <windows.h>
24
26
#endif
25
27
 
432
434
#if defined(ETIME) && (!defined(ELOOP) || (ETIME != ELOOP))
433
435
    case ETIME: return "etime";
434
436
#endif
435
 
#if defined(ETIMEDOUT) && (!defined(ENOSTR) || (ETIMEDOUT != ENOSTR))
 
437
#if defined(ETIMEDOUT) && (!defined(ENOSTR) || (ETIMEDOUT != ENOSTR)) && (!defined(EAGAIN) || (ETIMEDOUT != EAGAIN)) && (!defined(WSAETIMEDOUT) || (ETIMEDOUT != WSAETIMEDOUT))
436
438
    case ETIMEDOUT: return "etimedout";
437
439
#endif
438
440
#ifdef ETOOMANYREFS
453
455
#ifdef EVERSION
454
456
    case EVERSION: return "eversion";
455
457
#endif
456
 
#if defined(EWOULDBLOCK) && (!defined(EAGAIN) || (EWOULDBLOCK != EAGAIN))
 
458
#if defined(EWOULDBLOCK) && (!defined(EAGAIN) || (EWOULDBLOCK != EAGAIN)) && (!defined(WSAEWOULDBLOCK) || (EWOULDBLOCK != WSAEWOULDBLOCK))
457
459
    case EWOULDBLOCK: return "ewouldblock";
458
460
#endif
459
461
#ifdef EXDEV