Changeset 2341 for pjproject


Ignore:
Timestamp:
Oct 2, 2008 10:13:01 PM (16 years ago)
Author:
bennylp
Message:

Ticket #655: Compilation error on Linux when PJ_HAS_POOL_ALT_API is used (thanks Gang Liu for the report)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/pool_alt.h

    r2137 r2341  
    3939 
    4040 
    41 typedef struct pj_pool_t 
     41struct pj_pool_t 
    4242{ 
    4343    struct pj_pool_mem *first_mem; 
     
    4646    pj_size_t           used_size; 
    4747    pj_pool_callback   *cb; 
    48 } pj_pool_t; 
     48}; 
    4949 
    5050 
     
    168168} pj_pool_factory_policy; 
    169169 
    170 typedef struct pj_pool_factory 
     170struct pj_pool_factory 
    171171{ 
    172172    pj_pool_factory_policy policy; 
    173173    int dummy; 
    174 } pj_pool_factory; 
     174}; 
    175175 
    176 typedef struct pj_caching_pool  
     176struct pj_caching_pool  
    177177{ 
    178178    pj_pool_factory factory; 
    179 } pj_caching_pool; 
    180179 
     180    /* just to make it compilable */ 
     181    unsigned used_count; 
     182    unsigned used_size; 
     183    unsigned peak_used_size; 
     184}; 
     185 
     186/* just to make it compilable */ 
     187typedef struct pj_pool_block 
     188{ 
     189    int dummy; 
     190} pj_pool_block; 
    181191 
    182192#define pj_caching_pool_init( cp, pol, mac) 
Note: See TracChangeset for help on using the changeset viewer.