Changeset f66425d for protocols


Ignore:
Timestamp:
2015-12-18T17:54:40Z (9 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
98d46d5
Parents:
ea39049
Message:

oscar: Add prefixes to all functions that may conflict with purple

When people build with ./configure --purple=1 --oscar=1, the native
oscar is compiled statically, which should take priority, but sometimes
purple's oscar is used instead and bad things happen, most of it being
due to calling bitlbee's native aim_callhandler instead of the function
with the same name of libpurple's liboscar.so.

Location:
protocols/oscar
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/oscar/aim.h

    rea39049 rf66425d  
    2121
    2222#include "bitlbee.h"
     23
     24#ifdef WITH_PURPLE
     25/* For compatibility with builds that include both purple and this oscar module */
     26#include "aim_prefixes.h"
     27#endif
    2328
    2429/* XXX adjust these based on autoconf-detected platform */
Note: See TracChangeset for help on using the changeset viewer.