Ticket #422: glut.h_include_order_with_msvs.patch

File glut.h_include_order_with_msvs.patch, 0.9 KB (added by ujwal, 13 years ago)

PATCH

  • CREDITS

     
    897897N: Tony Payne 
    898898D: Example hanoi.pasm 
    899899 
     900N: Ujwal Reddy Malipeddi 
     901U: ujwalic 
     902E: ujwalic@gmail.com 
     903D: OpenGL/GLUT include file order with MSVS 
     904 
    900905N: Uri Guttman 
    901906D: Lot of general Parrot design hints 
    902907 
  • config/gen/opengl.pm

     
    967967 
    968968#define PARROT_IN_EXTENSION 
    969969 
    970 #include <$glut_header> 
    971 #include "parrot/parrot.h" 
     970/*  
     971   include parrot.h before glut.h on Win32 with MSVS 
     972   to fix error C2381: 'exit' : redefinition; __declspec(noreturn) 
     973*/ 
     974#include "parrot/parrot.h"     
     975#include <$glut_header>        
    972976 
    973977 
    974978typedef enum {