X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cfbe03c9c3ffecd6363dcc63e6fc27b8c6ed70aa..491b5be8305968871bc289453ed088a70c3de044:/src/xpm/rgbtab.h?ds=sidebyside diff --git a/src/xpm/rgbtab.h b/src/xpm/rgbtab.h index 39e8d27c9c..2d95e999f5 100644 --- a/src/xpm/rgbtab.h +++ b/src/xpm/rgbtab.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1989-94 GROUPE BULL + * Copyright (C) 1989-95 GROUPE BULL * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to @@ -47,8 +47,11 @@ typedef struct { #define myRGB(r,g,b) \ ((unsigned long)r<<16|(unsigned long)g<<8|(unsigned long)b) */ +#ifndef __OS2__ #define myRGB(r,g,b) RGB(r,g,b) /* MSW has this macro */ - +#else +#define myRGB(r,g,b) OS2RGB(r,g,b) +#endif static rgbRecord theRGBRecords[] = {