2001-07-22  Hans Breuer  <hans@breuer.org>

	* app/*/makefile.msc :
	* plug-ins/makefile.msc	:
	* libgimp/gimp.def :
	* libgimpwidgets/gimpwidgets.def : updated

	* makefile.msc :
	* app/xcf/makefile.msc :
	* regexrepl/makefile.msc : new files

	* app/base/base-config.c : a work-around for a gccism with
	structure initialization

	* app/core/gimp.c :
	* app/core/gimpimage-new.c :
	* app/gui/color-area.c
	* app/widgets/gimpdialogfactory.c
	* app/xcf/xcf-load.c
	* app/xcf/xcf-save.c
	* app/xcf/xcf-write.c
	* plug-ins/common/plasma.c :
	* plug-ins/flame/libifs.c : added <string.h> for strlen(), strcpy(),
	memcpy(), memcmp() and friends

	* plug-ins/imagemap/imap_rectangle.c :
	* plug-ins/ifscompose/ifscompose_storage.c : added <stdlib.h> for abs()

	* plug-ins/common/spheredesigner.c : reflect renaming of drawable.id
	drawable.drawable_id

	* plug-ins/script-fu/siod-wrapper.c : <string.h> and conditional use
	of script_fu_server_quit () cause there is not yet script-fu server
	on win32.
This commit is contained in:
Hans Breuer 2001-07-22 22:18:01 +00:00 committed by Hans Breuer
parent 731181e295
commit 5469bc4bac
28 changed files with 319 additions and 106 deletions

View File

@ -1,3 +1,38 @@
2001-07-22 Hans Breuer <hans@breuer.org>
* app/*/makefile.msc :
* plug-ins/makefile.msc :
* libgimp/gimp.def :
* libgimpwidgets/gimpwidgets.def : updated
* makefile.msc :
* app/xcf/makefile.msc :
* regexrepl/makefile.msc : new files
* app/base/base-config.c : a work-around for a gccism with
structure initialization
* app/core/gimp.c :
* app/core/gimpimage-new.c :
* app/gui/color-area.c
* app/widgets/gimpdialogfactory.c
* app/xcf/xcf-load.c
* app/xcf/xcf-save.c
* app/xcf/xcf-write.c
* plug-ins/common/plasma.c :
* plug-ins/flame/libifs.c : added <string.h> for strlen(), strcpy(),
memcpy(), memcmp() and friends
* plug-ins/imagemap/imap_rectangle.c :
* plug-ins/ifscompose/ifscompose_storage.c : added <stdlib.h> for abs()
* plug-ins/common/spheredesigner.c : reflect renaming of drawable.id
drawable.drawable_id
* plug-ins/script-fu/siod-wrapper.c : <string.h> and conditional use
of script_fu_server_quit () cause there is not yet script-fu server
on win32.
2001-07-22 Stanislav Brabec <utx@penguin.cz>
* plugins/common/despeckle.c: Reflect my fix from 2001-03-01

View File

@ -24,18 +24,25 @@
#include "base-config.h"
#ifdef __GNUC__
#define INIT_MEMBER(m,v) .m = v
#else
/* declaration order required ! */
#define INIT_MEMBER(m,v) v
#endif
static GimpBaseConfig static_base_config =
{
.temp_path = NULL,
.swap_path = NULL,
INIT_MEMBER(temp_path , NULL),
INIT_MEMBER(swap_path , NULL),
.tile_cache_size = 33554432,
.stingy_memory_use = FALSE,
.interpolation_type = LINEAR_INTERPOLATION,
.num_processors = 1
INIT_MEMBER(tile_cache_size , 33554432),
INIT_MEMBER(stingy_memory_use , FALSE),
INIT_MEMBER(interpolation_type , LINEAR_INTERPOLATION),
INIT_MEMBER(num_processors , 1)
};
#undef INIT_MEMBER
GimpBaseConfig *base_config = &static_base_config;
gboolean use_mmx = FALSE;

View File

@ -1,7 +1,9 @@
# autogenerated from automake.am with automake.py
# and slightly modified
TOP = ..\..\..
PRJ_TOP = ..\..
PACKAGE = appcore
PACKAGE = appbase
PKG_VER = 1.3
!INCLUDE $(TOP)\build\win32\make.msc
@ -11,66 +13,32 @@ includedir = $(PRJ_TOP)
LT_RELEASE = $(PKG_VER)
PKG_LINK = \
$(GLIB_LIBS) $(GTK_LIBS) \
..\base\appbase-$(PKG_VER).lib \
..\paint-funcs\apppaint-funcs-$(PKG_VER).lib \
..\..\libgimpbase\gimpbase-$(PKG_VER).lib \
..\..\libgimpcolor\gimpcolor-$(PKG_VER).lib
$(GLIB_LIBS) \
..\..\libgimpcolor\gimpcolor-$(PKG_VER).lib \
..\paint-funcs\apppaint-funcs.lib
OBJECTS = \
gimpbrush.obj \
gimpbrushgenerated.obj \
gimpbrushpipe.obj \
gimpchannel.obj \
gimpcontainer.obj \
gimpcontext.obj \
gimpdata.obj \
gimpdatafactory.obj \
gimpdatalist.obj \
gimpdrawable.obj \
gimpdrawable-desaturate.obj \
gimpdrawable-equalize.obj \
gimpdrawable-histogram.obj \
gimpdrawable-invert.obj \
gimpdrawable-offset.obj \
gimpdrawable-preview.obj \
gimpgradient.obj \
gimpimage.obj \
gimpimage-convert.obj \
gimpimage-colorhash.obj \
gimpimage-duplicate.obj \
gimpimage-mask.obj \
gimpimage-undo.obj \
gimplayer.obj \
gimplayermask.obj \
gimplist.obj \
gimpmarshal.obj \
gimpobject.obj \
gimppattern.obj \
gimppalette.obj \
gimppalette-import.obj \
gimppreviewcache.obj \
gimptoolinfo.obj \
gimpundo.obj \
gimpundostack.obj \
gimpviewable.obj \
OTHER_FILES = \
\
..\floating_sel.obj \
..\gimpparasite.obj \
..\parasitelist.obj \
..\drawable.obj \
..\datafiles.obj \
..\undo.obj \
..\path.obj
base.obj \
base-config.obj \
boundary.obj \
brush-scale.obj \
gimphistogram.obj \
gimplut.obj \
lut-funcs.obj \
pixel-processor.obj \
pixel-region.obj \
pixel-surround.obj \
temp-buf.obj \
tile.obj \
tile-cache.obj \
tile-manager.obj \
tile-manager-crop.obj \
tile-swap.obj \
INCLUDES = \
-I$(top_srcdir) \
-I$(top_srcdir)/app \
$(GTK_CFLAGS) \
$(GLIB_CFLAGS) \
-I$(includedir)
all : \

View File

@ -18,6 +18,8 @@
#include "config.h"
#include <string.h> /* strlen */
#include <gtk/gtk.h>
#include "libgimpbase/gimpbase.h"

View File

@ -18,6 +18,8 @@
#include "config.h"
#include <string.h> /* memcpy */
#include <gtk/gtk.h>
#include "libgimpbase/gimpbase.h"

View File

@ -18,14 +18,18 @@ PKG_LINK = \
..\..\libgimpcolor\gimpcolor-$(PKG_VER).lib
OBJECTS = \
gimp.obj \
gimpbrush.obj \
gimpbrushgenerated.obj \
gimpbrushpipe.obj \
gimpbuffer.obj \
gimpchannel.obj \
gimpcontainer.obj \
gimpcontext.obj \
gimpcoreconfig.obj \
gimpdata.obj \
gimpdatafactory.obj \
gimpdatafiles.obj \
gimpdatalist.obj \
gimpdrawable.obj \
gimpdrawable-desaturate.obj \
@ -34,27 +38,35 @@ OBJECTS = \
gimpdrawable-invert.obj \
gimpdrawable-offset.obj \
gimpdrawable-preview.obj \
gimpedit.obj \
gimpgradient.obj \
gimpimage.obj \
gimpimage-convert.obj \
gimpimage-colorhash.obj \
gimpimage-convert.obj \
gimpimage-crop.obj \
gimpimage-duplicate.obj \
gimpimage-mask.obj \
gimpimage-new.obj \
gimpimage-undo.obj \
gimplayer.obj \
gimplayermask.obj \
gimplist.obj \
gimpmarshal.obj \
gimpobject.obj \
gimppattern.obj \
gimppalette.obj \
gimppalette-import.obj \
gimpparasite.obj \
gimpparasitelist.obj \
gimppattern.obj \
gimppreviewcache.obj \
gimpscanconvert.obj \
gimptoolinfo.obj \
gimpundo.obj \
gimpundostack.obj \
gimpunit.obj \
gimpviewable.obj \
OTHER_FILES = \
\
..\floating_sel.obj \

View File

@ -19,6 +19,7 @@
#include "config.h"
#include <stdio.h>
#include <string.h> /* memcpy */
#ifdef HAVE_STRING_H
#include <string.h>

View File

@ -9,10 +9,19 @@ top_srcdir = $(PRJ_TOP)
top_builddir = $(PRJ_TOP)
includedir = $(PRJ_TOP)
LT_RELEASE = $(PKG_VER)
PKG_LINK = \
$(GLIB_LIBS) $(GTK_LIBS) $(INTL_LIBS) \
$(top_builddir)/libgimpwidgets/gimpwidgets-$(LT_RELEASE).lib \
..\base\appbase-$(PKG_VER).lib \
..\core\appcore-$(PKG_VER).lib \
..\widgets\appwidgets-$(PKG_VER).lib \
OBJECTS = \
about-dialog.obj \
brush-editor.obj \
brush-select.obj \
brushes-commands.obj \
channels-commands.obj \
color-area.obj \
color-notebook.obj \
@ -20,16 +29,21 @@ OBJECTS = \
colormap-dialog.obj \
commands.obj \
convert-dialog.obj \
data-commands.obj \
dialogs.obj \
dialogs-commands.obj \
dialogs-constructors.obj \
edit-commands.obj \
file-commands.obj \
file-dialog-utils.obj \
file-new-dialog.obj \
file-open-dialog.obj \
file-save-dialog.obj \
gradient-editor.obj \
gradient-select.obj \
gradients-commands.obj \
gui.obj \
image-commands.obj \
indicator-area.obj \
info-dialog.obj \
info-window.obj \
@ -40,16 +54,22 @@ OBJECTS = \
palette-editor.obj \
palette-import-dialog.obj \
palette-select.obj \
palettes-commands.obj \
paths-dialog.obj \
pattern-select.obj \
patterns-commands.obj \
preferences-dialog.obj \
resize-dialog.obj \
resolution-calibrate-dialog.obj \
select-commands.obj \
session.obj \
splash.obj \
test-commands.obj \
tips-dialog.obj \
tool-options-dialog.obj \
toolbox.obj \
tools-commands.obj \
view-commands.obj \
INCLUDES = \
-I$(top_srcdir) \
@ -59,7 +79,8 @@ INCLUDES = \
all : \
$(PRJ_TOP)\config.h \
$(PACKAGE).lib
$(PACKAGE).lib \
$(PACKAGE)-$(PKG_VER).dll
$(PRJ_TOP)\config.h: $(PRJ_TOP)\config.h.win32

View File

@ -11,7 +11,7 @@ top_srcdir = $(PRJ_TOP)
top_builddir = $(PRJ_TOP)
includedir = $(PRJ_TOP)
LT_RELEASE = $(PKG_VER)
SUBDIRS = paint-funcs base core pdb tools widgets gui
SUBDIRS = paint-funcs base core pdb xcf tools widgets gui
sub-all:
for %d in ($(SUBDIRS)) do nmake -nologo -f makefile.msc sub-one THIS=%d
@ -29,6 +29,8 @@ PKG_LINK = \
widgets/appwidgets.lib \
core/appcore.lib \
base/appbase.lib \
xcf/xcf.lib \
$(PRJ_TOP)/regexrepl/regexrepl.lib \
$(top_builddir)/libgimpcolor/gimpcolor-$(LT_RELEASE).lib \
$(top_builddir)/libgimpmath/gimpmath-$(LT_RELEASE).lib \
$(top_builddir)/libgimpbase/gimpbase-$(LT_RELEASE).lib \
@ -56,7 +58,6 @@ mmx_sources = \
OBJECTS = \
colormaps.obj \
devices.obj \
dialog_handler.obj \
docindex.obj \
errorconsole.obj \
gimpprogress.obj \
@ -67,47 +68,33 @@ OBJECTS = \
disp_callbacks.obj \
gdisplay.obj \
gdisplay_ops.obj \
# gdisplay_color.obj \
gximage.obj \
image_render.obj \
interface.obj \
scale.obj \
scroll.obj \
selection.obj \
global_edit.obj \
image_map.obj \
module_db.obj \
resize.obj \
user_install.obj \
datafiles.obj \
floating_sel.obj \
parasitelist.obj \
scan_convert.obj \
app_procs.obj \
batch.obj \
color_transfer.obj \
context_manager.obj \
drawable.obj \
errors.obj \
general.obj \
gimprc.obj \
file-open.obj \
file-save.obj \
file-utils.obj \
general.obj \
gimage.obj \
gimphelp.obj \
gimpparasite.obj \
gimprc.obj \
gimpunit.obj \
image_new.obj \
libgimp_glue.obj \
main.obj \
plug_in.obj \
path.obj \
path_curves.obj \
path_bezier.obj \
plug_in.obj \
undo.obj \
xcf.obj \
regexrepl.obj \
app_procs.obj \
main.obj \
batch.obj \
errors.obj \
gimphelp.obj \
libgimp_glue.obj \
regexrepl.obj : regexrepl.c regexrepl.h
$(CC) $(CFLAGS) -GD -c -DREGEX_MALLOC -DHAVE_STRING_H $(PKG_CFLAGS) regexrepl.c

View File

@ -9,6 +9,7 @@ top_srcdir = $(PRJ_TOP)
top_builddir = $(PRJ_TOP)
includedir = $(PRJ_TOP)
LT_RELEASE = $(PKG_VER)
OBJECTS = \
paint-funcs.obj \

View File

@ -21,6 +21,8 @@
#include "config.h"
#include <string.h> /* strcmp */
#include <gtk/gtk.h>
#include "libgimpwidgets/gimpwidgets.h"

View File

@ -19,6 +19,7 @@
#include "config.h"
#include <stdio.h>
#include <string.h> /* memcpy */
#ifdef HAVE_STRING_H
#include <string.h>

50
app/xcf/makefile.msc Normal file
View File

@ -0,0 +1,50 @@
# autogenerated from automake.am with automake.py
TOP = ..\..\..
PRJ_TOP = ..\..
PACKAGE = xcf
PKG_VER = 1.3
!INCLUDE $(TOP)\build\win32\make.msc
top_srcdir = $(PRJ_TOP)
top_builddir = $(PRJ_TOP)
includedir = $(PRJ_TOP)
LT_RELEASE = $(PKG_VER)
INCLUDES = \
-I$(top_srcdir) \
-I$(top_srcdir)/app \
$(GTK_CFLAGS) \
-I$(includedir) \
OBJECTS = \
xcf.obj \
xcf-load.obj \
xcf-read.obj \
xcf-save.obj \
xcf-seek.obj \
xcf-write.obj \
noinst_LIBRARIES = \
libappxcf.a
all : \
$(PRJ_TOP)\config.h \
$(PACKAGE).lib \
# $(PACKAGE)-$(PKG_VER).dll
$(PRJ_TOP)\config.h: $(PRJ_TOP)\config.h.win32
copy $(PRJ_TOP)\config.h.win32 $(PRJ_TOP)\config.h
RESOURCE = $(PACKAGE).res
$(PACKAGE).lib : $(OBJECTS)
lib /out:$(PACKAGE).lib $(OBJECTS)
$(PACKAGE)-$(PKG_VER).dll : $(OBJECTS) $(PACKAGE).def
$(CC) $(CFLAGS) -LD -Fe$(PACKAGE)-$(PKG_VER).dll $(OBJECTS) $(PKG_LINK) user32.lib advapi32.lib wsock32.lib $(LDFLAGS) /def:$(PACKAGE).def
$(PACKAGE).exe : $(OBJECTS) $(PACKAGE).def $(PACKAGE).res
$(CC) $(CFLAGS) -Fe$(PACKAGE).exe $(PACKAGE).res $(OBJECTS) $(PKG_LINK) \
user32.lib advapi32.lib shell32.lib wsock32.lib winspool.lib $(LDFLAGS) /def:$(PACKAGE).def
.c.obj :
$(CC) $(CFLAGS) -GD -c $(PKG_CFLAGS) $<

View File

@ -19,6 +19,7 @@
#include "config.h"
#include <stdio.h>
#include <string.h> /* strcmp, memcmp */
#include <gtk/gtk.h>

View File

@ -19,6 +19,7 @@
#include "config.h"
#include <stdio.h>
#include <string.h> /* strcpy, strlen */
#include <gtk/gtk.h>

View File

@ -19,6 +19,7 @@
#include "config.h"
#include <stdio.h>
#include <string.h> /* strlen */
#include <glib.h>

View File

@ -56,7 +56,6 @@ EXPORTS
gimp_convert_rgb
gimp_convolve
gimp_convolve_default
gimp_crop
gimp_default_display
gimp_destroy_paramdefs
gimp_destroy_params
@ -142,6 +141,7 @@ EXPORTS
gimp_image_attach_new_parasite
gimp_image_base_type
gimp_image_clean_all
gimp_image_crop
gimp_image_delete
gimp_image_delete_guide
gimp_image_duplicate

View File

@ -1,4 +1,6 @@
EXPORTS
gimp_button_get_type
gimp_button_new
gimp_chain_button_get_active
gimp_chain_button_get_type
gimp_chain_button_new
@ -7,10 +9,12 @@ EXPORTS
gimp_color_area_get_color
gimp_color_area_get_type
gimp_color_area_get_type
gimp_color_area_has_alpha
gimp_color_area_new
gimp_color_area_new
gimp_color_area_set_color
gimp_color_area_set_color
gimp_color_area_set_type
gimp_color_button_get_color
gimp_color_button_get_color
gimp_color_button_get_type
@ -42,9 +46,15 @@ EXPORTS
gimp_int_adjustment_update
gimp_mem_size_entry_new
gimp_menu_item_update
gimp_offset_area_get_type
gimp_offset_area_new
gimp_offset_area_set_offsets
gimp_offset_area_set_size
gimp_option_menu_new
gimp_option_menu_new2
gimp_option_menu_set_history
gimp_palette_get_background
gimp_palette_get_foreground
gimp_path_editor_get_path
gimp_path_editor_get_type
gimp_path_editor_new
@ -79,16 +89,22 @@ EXPORTS
gimp_size_entry_set_value
gimp_size_entry_set_value_boundaries
gimp_spin_button_new
gimp_standard_help_func
gimp_table_attach_aligned
gimp_toggle_button_sensitive_update
gimp_toggle_button_update
gimp_uint_adjustment_update
gimp_unit_get_abbreviation
gimp_unit_get_digits
gimp_unit_get_factor
gimp_unit_get_number_of_built_in_units
gimp_unit_get_number_of_units
gimp_unit_get_plural
gimp_unit_get_singular
gimp_unit_get_symbol
gimp_unit_menu_get_type
gimp_unit_menu_get_unit
gimp_unit_menu_new
gimp_unit_menu_set_unit
gimp_unit_menu_update
gimp_button_new
gimp_offset_area_get_type
gimp_offset_area_new
gimp_offset_area_set_offsets
gimp_offset_area_set_size

39
makefile.msc Normal file
View File

@ -0,0 +1,39 @@
TOP = ..
PRJ_TOP = .
PACKAGE = gimp
PKG_VER = 1.3
!INCLUDE $(TOP)\build\win32\make.msc
# in required build order
SUBDIRS = libgimpbase libgimpcolor libgimpmath libgimpwidgets libgimp \
regexrepl app plug-ins modules
sub-all:
for %d in ($(SUBDIRS)) do nmake -nologo -f makefile.msc sub-one THIS=%d
sub-one:
cd $(THIS)
nmake -nologo -f makefile.msc
cd ..
all : \
$(PRJ_TOP)\config.h \
sub-all
$(PRJ_TOP)\config.h: $(PRJ_TOP)\config.h.win32
copy $(PRJ_TOP)\config.h.win32 $(PRJ_TOP)\config.h
RESOURCE = $(PACKAGE).res
$(PACKAGE).lib : $(OBJECTS)
lib /out:$(PACKAGE).lib $(OBJECTS)
$(PACKAGE)-$(PKG_VER).dll : $(PKG_LINK) $(OBJECTS) $(PACKAGE).def
$(CC) $(CFLAGS) -LD -Fe$(PACKAGE)-$(PKG_VER).dll $(OBJECTS) $(PKG_LINK) user32.lib advapi32.lib wsock32.lib $(LDFLAGS) /def:$(PACKAGE).def
$(PACKAGE).exe : $(OBJECTS) $(PACKAGE).def $(PACKAGE).res
$(CC) $(CFLAGS) -Fe$(PACKAGE).exe $(PACKAGE).res $(OBJECTS) $(PKG_LINK) \
user32.lib advapi32.lib shell32.lib wsock32.lib winspool.lib $(LDFLAGS) /def:$(PACKAGE).def
.c.obj :
$(CC) $(CFLAGS) -GD -c $(PKG_CFLAGS) $<

View File

@ -60,6 +60,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <time.h> /* For random seeding */
#include <string.h> /* memcpy */
#include <gtk/gtk.h>

View File

@ -2744,16 +2744,16 @@ void realrender(GimpDrawable *drawable)
r.v1.z = -10.0;
r.v2.z = 0.0;
alpha = gimp_drawable_has_alpha(drawable->id);
alpha = gimp_drawable_has_alpha(drawable->drawable_id);
gimp_pixel_rgn_init(&pr, drawable, 0, 0,
gimp_drawable_width(drawable->id),
gimp_drawable_height(drawable->id), FALSE, FALSE);
gimp_drawable_width(drawable->drawable_id),
gimp_drawable_height(drawable->drawable_id), FALSE, FALSE);
gimp_pixel_rgn_init(&dpr, drawable, 0, 0,
gimp_drawable_width(drawable->id),
gimp_drawable_height(drawable->id), TRUE, TRUE);
gimp_drawable_mask_bounds (drawable->id, &x1, &y1, &x2, &y2);
bpp = gimp_drawable_bpp(drawable->id);
gimp_drawable_width(drawable->drawable_id),
gimp_drawable_height(drawable->drawable_id), TRUE, TRUE);
gimp_drawable_mask_bounds (drawable->drawable_id, &x1, &y1, &x2, &y2);
bpp = gimp_drawable_bpp(drawable->drawable_id);
buffer = g_malloc((x2 - x1) * 4);
ibuffer = g_malloc((x2 - x1) * 4);
@ -2789,8 +2789,8 @@ void realrender(GimpDrawable *drawable)
g_free(buffer);
g_free(ibuffer);
gimp_drawable_flush (drawable);
gimp_drawable_merge_shadow (drawable->id, TRUE);
gimp_drawable_update (drawable->id, x1, y1, (x2 - x1), (y2 - y1));
gimp_drawable_merge_shadow (drawable->drawable_id, TRUE);
gimp_drawable_update (drawable->drawable_id, x1, y1, (x2 - x1), (y2 - y1));
}
static void

View File

@ -20,6 +20,7 @@
#include <ctype.h>
#include <stdlib.h>
#include <string.h> /* strcmp */
#include "libgimp/gimp.h"

View File

@ -19,6 +19,8 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include <string.h> /* strlen */
#include <gdk/gdk.h>
#include <libgimp/gimp.h>

View File

@ -22,6 +22,9 @@
*/
#include "config.h"
#include <stdlib.h> /* abs */
#include "libgimp/stdplugins-intl.h"
#include "imap_main.h"
#include "imap_misc.h"

View File

@ -436,12 +436,14 @@ OBJECTS = \
interp_slib.obj \
interp_sliba.obj \
interp_trace.obj \
siod-wrapper.obj \
script-fu.obj \
script-fu-console.obj \
script-fu-constants.obj \
script-fu-scripts.obj \
regexrepl.obj \
script-fu-text-console.obj \
..\dbbrowser\dbbrowser_utils.obj
EXTRALIBS = ..\..\regexrepl\regexrepl.lib
EXTRACFLAGS = -DREGEX_MALLOC
HAVE_RESOURCE = YES
!ENDIF
@ -539,6 +541,7 @@ OBJECTS = \
OBJECTS = \
tw_func.obj \
tw_util.obj \
tw_dump.obj \
twain.obj
EXTRALIBS = user32.lib
!ENDIF

View File

@ -1,5 +1,7 @@
#include "config.h"
#include <string.h> /* memcpy, strcpy, strlen */
#include "siod.h"
#include "siod-wrapper.h"
#include <glib.h>
@ -939,7 +941,11 @@ script_fu_register_call (LISP a)
static LISP
script_fu_quit_call (LISP a)
{
#ifdef G_OS_WIN32
g_warning ("script_fu_server not available.");
#else
script_fu_server_quit ();
#endif
return NIL;
}

View File

@ -1,5 +1,7 @@
#include "config.h"
#include <string.h> /* memcpy, strcpy, strlen */
#include "siod.h"
#include "siod-wrapper.h"
#include <glib.h>
@ -939,7 +941,11 @@ script_fu_register_call (LISP a)
static LISP
script_fu_quit_call (LISP a)
{
#ifdef G_OS_WIN32
g_warning ("script_fu_server not available.");
#else
script_fu_server_quit ();
#endif
return NIL;
}

44
regexrepl/makefile.msc Normal file
View File

@ -0,0 +1,44 @@
# autogenerated from automake.am with automake.py
# and slightly modifies
TOP = ..\..
PRJ_TOP = ..
PACKAGE = regexrepl
PKG_VER = 1.3
!INCLUDE $(TOP)\build\win32\make.msc
top_srcdir = $(PRJ_TOP)
top_builddir = $(PRJ_TOP)
includedir = $(PRJ_TOP)
LT_RELEASE = $(PKG_VER)
PKG_CFLAGS = -I ..
OBJECTS = \
regex.obj \
regex.obj : regex.c regex.h
$(CC) $(CFLAGS) -GD -c -DREGEX_MALLOC -DHAVE_STRING_H $(PKG_CFLAGS) regex.c
all : \
$(PRJ_TOP)\config.h \
$(PACKAGE).lib
$(PRJ_TOP)\config.h: $(PRJ_TOP)\config.h.win32
copy $(PRJ_TOP)\config.h.win32 $(PRJ_TOP)\config.h
RESOURCE = $(PACKAGE).res
$(PACKAGE).lib : $(OBJECTS)
lib /out:$(PACKAGE).lib $(OBJECTS)
$(PACKAGE)-$(PKG_VER).dll : $(OBJECTS) $(PACKAGE).def
$(CC) $(CFLAGS) -LD -Fe$(PACKAGE)-$(PKG_VER).dll $(OBJECTS) $(PKG_LINK) user32.lib advapi32.lib wsock32.lib $(LDFLAGS) /def:$(PACKAGE).def
$(PACKAGE).exe : $(OBJECTS) $(PACKAGE).def $(PACKAGE).res
$(CC) $(CFLAGS) -Fe$(PACKAGE).exe $(PACKAGE).res $(OBJECTS) $(PKG_LINK) \
user32.lib advapi32.lib shell32.lib wsock32.lib winspool.lib $(LDFLAGS) /def:$(PACKAGE).def
.c.obj :
$(CC) $(CFLAGS) -GD -c $(PKG_CFLAGS) $<