Commit 7cb1950f authored by Manish Singh's avatar Manish Singh
Browse files

M_PI madness...

-Yosh
parent cd7edb60
Wed Mar 18 15:06:13 PST 1998 Manish Singh <yosh@gimp.org>
* define M_PI if it's not already defined in lots of
source files
Wed Mar 18 16:57:52 EST 1998 Adrian Likins <adrian@gimp.org>
* blend.c brightness_contrast.c brush_select.c brushes.c
......
......@@ -43,6 +43,10 @@
#define SQR(x) ((x) * (x))
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif /* M_PI */
/* the Blend structures */
typedef enum
......
......@@ -43,6 +43,10 @@
#define SQR(x) ((x) * (x))
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif /* M_PI */
/* the Blend structures */
typedef enum
......
......@@ -167,6 +167,10 @@
/***** Magic numbers *****/
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif /* M_PI */
#define EPSILON 1e-10
#define GRAD_LIST_WIDTH 300
......
......@@ -167,6 +167,10 @@
/***** Magic numbers *****/
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif /* M_PI */
#define EPSILON 1e-10
#define GRAD_LIST_WIDTH 300
......
......@@ -167,6 +167,10 @@
/***** Magic numbers *****/
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif /* M_PI */
#define EPSILON 1e-10
#define GRAD_LIST_WIDTH 300
......
......@@ -39,6 +39,10 @@
#include "temp_buf.h"
#include "tools.h"
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif /* M_PI */
/* local structures */
typedef struct _IScissorsOptions IScissorsOptions;
......
......@@ -33,6 +33,10 @@
#include "tile_manager_pvt.h"
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif /* M_PI */
/* index into trans_info array */
#define ANGLE 0
#define REAL_ANGLE 1
......
......@@ -43,6 +43,10 @@
#define SQR(x) ((x) * (x))
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif /* M_PI */
/* the Blend structures */
typedef enum
......
......@@ -43,6 +43,10 @@
#define SQR(x) ((x) * (x))
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif /* M_PI */
/* the Blend structures */
typedef enum
......
......@@ -39,6 +39,10 @@
#include "temp_buf.h"
#include "tools.h"
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif /* M_PI */
/* local structures */
typedef struct _IScissorsOptions IScissorsOptions;
......
......@@ -33,6 +33,10 @@
#include "tile_manager_pvt.h"
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif /* M_PI */
/* index into trans_info array */
#define ANGLE 0
#define REAL_ANGLE 1
......
......@@ -39,6 +39,10 @@
#include "temp_buf.h"
#include "tools.h"
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif /* M_PI */
/* local structures */
typedef struct _IScissorsOptions IScissorsOptions;
......
......@@ -33,6 +33,10 @@
#include "tile_manager_pvt.h"
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif /* M_PI */
/* index into trans_info array */
#define ANGLE 0
#define REAL_ANGLE 1
......
......@@ -40,7 +40,7 @@
#include "tile_manager_pvt.h"
#define SQR(x) ((x) * (x))
/* define pi */
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif /* M_PI */
......
......@@ -40,7 +40,7 @@
#include "tile_manager_pvt.h"
#define SQR(x) ((x) * (x))
/* define pi */
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif /* M_PI */
......
......@@ -167,6 +167,10 @@
/***** Magic numbers *****/
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif /* M_PI */
#define EPSILON 1e-10
#define GRAD_LIST_WIDTH 300
......
......@@ -80,6 +80,10 @@
#include <sys/stat.h>
#include <time.h> /* for seed of random number */
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif /* M_PI */
#define PARAM_FILE_FORMAT_VERSION 1.0
#define PLUG_IN_NAME "plug_in_CML_explorer"
#define SHORT_NAME "CML_explorer"
......
......@@ -57,6 +57,10 @@
#include "libgimp/gimp.h"
#include "gtk/gtk.h"
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif /* M_PI */
#define ENTRY_WIDTH 100
/* Declare local functions.
......
......@@ -54,6 +54,9 @@
#include "gtk/gtk.h"
#include "libgimp/gimp.h"
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif /* M_PI */
/***** Magic numbers *****/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment