Include <stdlib.h> for __argc and__argv.

2000-02-24  Tor Lillqvist  <tml@iki.fi>

* libgimp/gimp.h (Win32): Include <stdlib.h> for __argc and__argv.

* libgimp/{gimp,gimpui}.def: Add new entry points.

* libgimp/gimpenv.c (Win32): Make compileable, with no geteuid etc.

* app/makefile.{cygwin,msc}
* libgimp/makefile.{cygwin,msc}: Update object file list.
This commit is contained in:
Tor Lillqvist 2000-02-23 22:03:37 +00:00 committed by Tor Lillqvist
parent f530f0dbb1
commit ebf05daf38
10 changed files with 50 additions and 10 deletions

View File

@ -1,3 +1,14 @@
2000-02-24 Tor Lillqvist <tml@iki.fi>
* libgimp/gimp.h (Win32): Include <stdlib.h> for __argc and__argv.
* libgimp/{gimp,gimpui}.def: Add new entry points.
* libgimp/gimpenv.c (Win32): Make compileable, with no geteuid etc.
* app/makefile.{cygwin,msc}
* libgimp/makefile.{cygwin,msc}: Update object file list.
Wed Feb 23 21:07:41 CET 2000 Sven Neumann <sven@gimp.org>
* app/fileops.c

View File

@ -200,9 +200,7 @@ gimp_OBJECTS = \
paintbrush.o \
parasite_cmds.o \
parasitelist.o \
path_tool.o \
path_bezier.o \
path_curves.o \
path.o \
paths_cmds.o \
paths_dialog.o \
pattern_select.o \
@ -250,8 +248,7 @@ gimp_OBJECTS = \
undo_cmds.o \
undo_history.o \
unit_cmds.o \
xcf.o \
xinput_airbrush.o
xcf.o
# .SUFFIXES: .gc

View File

@ -207,9 +207,7 @@ gimp_OBJECTS = \
paintbrush.obj \
parasite_cmds.obj \
parasitelist.obj \
path_bezier.obj \
path_curves.obj \
path_tool.obj \
path.obj \
paths_cmds.obj \
paths_dialog.obj \
pattern_select.obj \
@ -257,8 +255,7 @@ gimp_OBJECTS = \
undo_cmds.obj \
undo_history.obj \
unit_cmds.obj \
xcf.obj \
xinput_airbrush.obj
xcf.obj
# .SUFFIXES: .gc

View File

@ -204,6 +204,10 @@ EXPORTS
gimp_parasite_attach
gimp_parasite_detach
gimp_parasite_find
gimp_path_free
gimp_path_get_user_writable_dir
gimp_path_parse
gimp_path_to_str
gimp_personal_rc_file
gimp_pixel_rgn_get_col
gimp_pixel_rgn_get_pixel

View File

@ -36,6 +36,7 @@
#include "libgimp/gimpcompat.h" /* to be removed in 1.3 */
#ifdef G_OS_WIN32
# include <stdlib.h> /* For _-argc and __argv */
# ifdef LIBGIMP_COMPILATION
# define GIMPVAR __declspec(dllexport)
# else /* !LIBGIMP_COMPILATION */

View File

@ -33,6 +33,14 @@
#ifdef G_OS_WIN32
#define STRICT
#include <windows.h> /* For GetModuleFileName */
#ifndef S_IWGRP
#define S_IWGRP (_S_IWRITE>>3)
#define S_IWOTH (_S_IWRITE>>6)
#endif
#define uid_t gint
#define gid_t gint
#define geteuid() 0
#define getegid() 0
#endif
#ifdef __EMX__

View File

@ -7,6 +7,7 @@ EXPORTS
gimp_chain_button_new
gimp_chain_button_set_active
gimp_channel_menu_new
gimp_color_button_double_new
gimp_color_button_get_type
gimp_color_button_new
gimp_color_button_update
@ -46,12 +47,19 @@ EXPORTS
gimp_option_menu_new
gimp_option_menu_new2
gimp_option_menu_set_history
gimp_path_editor_get_path
gimp_path_editor_get_type
gimp_path_editor_new
gimp_pattern_close_popup
gimp_pattern_get_pattern_data
gimp_pattern_select_widget
gimp_pattern_select_widget_close_popup
gimp_pattern_select_widget_set_popup
gimp_pattern_set_popup
gimp_pixmap_button_new
gimp_pixmap_get_type
gimp_pixmap_new
gimp_pixmap_set
gimp_query_boolean_box
gimp_query_double_box
gimp_query_int_box

View File

@ -58,6 +58,7 @@ gimpi_OBJECTS = \
gimphelpui.o \
gimpmatrix.o \
gimppatheditor.o\
gimppixmap.o \
gimpprotocol.o \
gimpquerybox.o \
gimpsizeentry.o \
@ -151,7 +152,9 @@ gimpui_OBJECTS = \
gimpfileselection.o \
gimphelpui.o \
gimpgradientmenu.o \
gimppatheditor.o \
gimppatternmenu.o \
gimppixmap.o \
gimpquerybox.o \
gimpsizeentry.o \
gimpunitmenu.o \

View File

@ -64,6 +64,7 @@ gimpi_OBJECTS = \
gimphelpui.obj \
gimpmatrix.obj \
gimppatheditor.obj\
gimppixmap.obj \
gimpprotocol.obj\
gimpquerybox.obj\
gimpsizeentry.obj\
@ -157,7 +158,9 @@ gimpui_OBJECTS = \
gimpfileselection.obj\
gimpgradientmenu.obj\
gimphelpui.obj \
gimppatheditor.obj\
gimppatternmenu.obj\
gimppixmap.obj \
gimpquerybox.obj\
gimpsizeentry.obj\
gimpunitmenu.obj\

View File

@ -33,6 +33,14 @@
#ifdef G_OS_WIN32
#define STRICT
#include <windows.h> /* For GetModuleFileName */
#ifndef S_IWGRP
#define S_IWGRP (_S_IWRITE>>3)
#define S_IWOTH (_S_IWRITE>>6)
#endif
#define uid_t gint
#define gid_t gint
#define geteuid() 0
#define getegid() 0
#endif
#ifdef __EMX__