Skip to content
Snippets Groups Projects
Commit 35f47316 authored by Martin Nilsson's avatar Martin Nilsson
Browse files

Attempt to fix build bustage on machines with old pikes (hopper and fia).

Rev: src/modules/_Crypto/lib/desdata.pike:1.3
parent aed52096
Branches
Tags
No related merge requests found
......@@ -13,7 +13,7 @@
* desinfo.h,v 1.3 1997/04/18 20:09:24 nisse
* desCode.h,v 1.2 1997/03/15 04:51:31 nisse
*
* $Id: desdata.pike,v 1.2 2002/04/30 21:30:57 mast Exp $
* $Id: desdata.pike,v 1.3 2002/05/01 01:15:05 nilsson Exp $
*/
/*
......@@ -152,6 +152,12 @@ array(int) sorder = ({
7, 5, 3, 1, 6, 4, 2, 0,
});
#if !constant(has_suffix)
int has_suffix(string a, string b) {
return a[sizeof(a)-sizeof(b)..]==b;
}
#endif
int main(int argc, array(string) argv)
{
int d, i, j, k, l, m, n, s;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment