Mercurial > mplayer.hg
view loader/wine/pshpack4.h @ 34679:6378e3a2ffb8
Revise listMgr() command URLLIST_ITEM_ADD.
Remove unnecessary variable is_added, replace gstrcmp() by strcmp(),
fix memory leakage by freeing list item that won't be added and change
return value to pointer to added item.
Additionally, insert some blank lines.
author | ib |
---|---|
date | Thu, 23 Feb 2012 13:07:49 +0000 |
parents | 32725ca88fed |
children |
line wrap: on
line source
#ifndef MPLAYER_PSHPACK_H #define MPLAYER_PSHPACK_H 4 #if defined(__GNUC__) || defined(__SUNPRO_CC) //#pragma pack(4) #elif defined(__SUNPRO_C) //#pragma pack() #elif !defined(RC_INVOKED) #error "4 as alignment isn't supported by the compiler" #endif /* defined(__GNUC__) || defined(__SUNPRO_CC) ; !defined(RC_INVOKED) */ #else /* MPLAYER_PSHPACK_H */ #error "Nested pushing of alignment isn't supported by the compiler" #endif /* MPLAYER_PSHPACK_H */