Changeset 7100

Show
Ignore:
Timestamp:
01/14/10 22:08:05 (8 months ago)
Author:
metamorph68
Message:

Fixed compilation when using MinGW

Location:
trunk/ocaml-mad
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/ocaml-mad/CHANGES

    r6910 r7100  
    55* Removed confusing wav_* and samplefreq API 
    66* Fixed duration to use decode_float 
     7* Fixed compilation using MinGW for win32 
    78 
    890.3.6 (12-10-2009) 
  • trunk/ocaml-mad/src/mad_stubs.c

    r6910 r7100  
    4040#include <string.h> 
    4141#include <assert.h> 
     42#ifdef __MINGW32__ 
     43#include <winsock.h> 
     44#else 
    4245#include <netinet/in.h> 
     46#endif 
    4347#include <stdint.h> 
    4448#include <mad.h>