Ignore:
Timestamp:
Mar 23, 2010, 2:53:39 PM (12 years ago)
Author:
dmik
Message:

branches/kmk: Made all Lucide SOM plugins build with kmk/gcc.

Location:
branches/kmk/Lucide/plugins/ludoc
Files:
1 added
8 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • branches/kmk/Lucide/plugins/ludoc/cpconv.cpp

    r156 r306  
    3333
    3434
     35#include <os2.h>
    3536#include <uconv.h>
    3637
  • branches/kmk/Lucide/plugins/ludoc/ludoc.def

    r156 r306  
    1 LIBRARY     LUDOC.DLL
     1LIBRARY ludoc
    22
    33EXPORTS
     4    ;
    45    LuDocumentNewClass
    5     LuDocumentClassData
    6     LuDocumentCClassData
     6    LuDocumentClassData = _LuDocumentClassData
    77    _LuDocumentClassData
     8    LuDocumentCClassData = _LuDocumentCClassData
    89    _LuDocumentCClassData
     10    ;
    911    LuPixbufNewClass
    10     LuPixbufClassData
    11     LuPixbufCClassData
     12    LuPixbufClassData = _LuPixbufClassData
    1213    _LuPixbufClassData
     14    LuPixbufCClassData = _LuPixbufCClassData
    1315    _LuPixbufCClassData
     16    ;
    1417    LuIndexNodeNewClass
    15     LuIndexNodeClassData
    16     LuIndexNodeCClassData
     18    LuIndexNodeClassData = _LuIndexNodeClassData
    1719    _LuIndexNodeClassData
    18     _LuIndexNodeCClassData
     20    LuIndexNodeCClassData = _LuIndexNodeCClassData
     21    ;
    1922    uniConvertSpChars
    2023    uniLigaturesLength
    2124    uniReplaceLigatures
     25
  • branches/kmk/Lucide/plugins/ludoc/lupixbuf.cpp

    r222 r306  
    5454#define INCL_DOS
    5555#include <os2.h>
     56
    5657#include <assert.h>
     58#include <algorithm>
    5759
    5860#include "lupixbuf.xih"
     
    131133{
    132134    LuPixbufData *somThis = LuPixbufGetData(somSelf);
    133     int xlen = __min( somThis->width - x, p->getWidth( ev ) ) * somThis->bpp;
    134     int ylen = __min( somThis->height - y, p->getHeight( ev ) );
     135    int xlen = std::min( somThis->width - x, p->getWidth( ev ) ) * somThis->bpp;
     136    int ylen = std::min( somThis->height - y, p->getHeight( ev ) );
    135137    int rowstribe = p->getRowSize( ev );
    136138    char *fromdt = (char *)p->getDataPtr( ev );
  • branches/kmk/Lucide/plugins/ludoc/lutypes.h

    r217 r306  
    3636#define lutypes_h
    3737
     38#ifndef __SOMIDL__
    3839#include <os2.h>
     40#endif
    3941
    4042
Note: See TracChangeset for help on using the changeset viewer.