Changeset 1096:d78f6d9d2470 in roaraudio


Ignore:
Timestamp:
12/28/08 22:05:11 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

seems win32 C lib is broken (didn't we know that allrady?)

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/roaraudio.h

    r1075 r1096  
    179179#if BYTE_ORDER == BIG_ENDIAN 
    180180 
     181#ifdef ROAR_TARGET_WIN32 
     182#error This is nonsens. No win32 runs on a BE machine 
     183#endif 
     184 
    181185#define ROAR_NET2HOST32(x) (x) 
    182186#define ROAR_HOST2NET32(x) (x) 
  • libroar/socket.c

    r1095 r1096  
    530530   /* set the connect information */ 
    531531   socket_addr.in.sin_family = AF_INET; 
    532 #ifndef ROAR_TARGET_WIN32 
    533532   socket_addr.in.sin_port   = ROAR_HOST2NET16(port); 
    534 #else 
    535    socket_addr.in.sin_port   = port; 
    536 #endif 
    537533 
    538534   fh = roar_socket_new_tcp(); 
Note: See TracChangeset for help on using the changeset viewer.