diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2008-04-05 12:54:31 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2008-04-05 12:54:31 +0100 |
commit | f3351f0ae5c6014e36e529684b81e78cad9a66ce (patch) | |
tree | 982a86b8a9ac0d959b63563a95e5847f68a89822 /lib/arc.h | |
parent | 8dbe021fab08902eb202da8da26d183cb0832fca (diff) |
Fixed GLib <2.6 compatibility issue in arc.h. (G_GNUC_MALLOC)
Diffstat (limited to 'lib/arc.h')
-rw-r--r-- | lib/arc.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -30,6 +30,10 @@ struct arc_state unsigned char i, j; }; +#ifndef G_GNUC_MALLOC +#define G_GNUC_MALLOC +#endif + G_GNUC_MALLOC struct arc_state *arc_keymaker( unsigned char *key, int kl, int cycles ); unsigned char arc_getbyte( struct arc_state *st ); int arc_encode( char *clear, int clear_len, unsigned char **crypt, char *password, int pad_to ); |