1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/math/superlu/files/patch-ab
Steve Price ca657d2e57 Initial import of SuperLU version 1.1.
A library of routines for performing sparse factorization.

PR:		5131
Submitted by:	Pedro Giffuni <giffunip@asme.org>
1998-08-09 23:54:16 +00:00

27 lines
474 B
Plaintext

*** SRC/util.h.orig Sat Nov 22 22:25:23 1997
--- SRC/util.h Sat Nov 22 22:29:50 1997
***************
*** 2,10 ****
#define __SUPERLU_UTIL
#include <stdio.h>
#include <stdlib.h>
! #include <string.h>
#include <malloc.h>
#include <assert.h>
/* Macros */
--- 2,13 ----
#define __SUPERLU_UTIL
#include <stdio.h>
+ #ifdef __STDC__
#include <stdlib.h>
! #else
#include <malloc.h>
+ #endif
+ #include <string.h>
#include <assert.h>
/* Macros */