* include/winsvc.h (SERVICE_NO_CHANGE): Use hex constant to avoid

warnings.
	Thanks to Fabricio D. Rossi <gurusoda@users.sf.net>.
	* Makefile.in (bindist): Correct process.
	* lib/Makefile.in (install): Ditto.
	Thanks to Jeff Bonnggren <jbon@users.sf.net>.
This commit is contained in:
Earnie Boyd 2003-03-11 14:44:58 +00:00
parent 2afa7f5882
commit 296b2a5f17
4 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,12 @@
2003-03-11 Earnie Boyd <earnie@users.sf.net>
* include/winsvc.h (SERVICE_NO_CHANGE): Use hex constant to avoid
warnings.
Thanks to Fabricio D. Rossi <gurusoda@users.sf.net>.
* Makefile.in (bindist): Correct process.
* lib/Makefile.in (install): Ditto.
Thanks to Jeff Bonnggren <jbon@users.sf.net>.
2003-03-10 Danny Smith <dannysmith@users.sourceforge.net>
* include/rasdlg.h: New file.

View File

@ -130,7 +130,7 @@ bindist:
rm -rf $(distdir)
mkdir $(distdir)
chmod 755 $(distdir)
$(MAKE) install prefix=../$(distdir)$(dist_prefix) exec_prefix=../$(distdir)$(dist_prefix)
$(MAKE) install prefix=`pwd`/$(distdir)$(dist_prefix) exec_prefix=`pwd`/$(distdir)$(dist_prefix)
rm -f $(distdir)$(TARFILEEXT)
cd $(distdir); $(TAR) $(TARFLAGS)cf ../$(distdir)$(TARFILEEXT) *

View File

@ -20,7 +20,7 @@ extern "C" {
#define SC_MANAGER_LOCK 8
#define SC_MANAGER_QUERY_LOCK_STATUS 16
#define SC_MANAGER_MODIFY_BOOT_CONFIG 32
#define SERVICE_NO_CHANGE (-1)
#define SERVICE_NO_CHANGE 0xffffffff
#define SERVICE_STOPPED 1
#define SERVICE_START_PENDING 2
#define SERVICE_STOP_PENDING 3

View File

@ -135,7 +135,7 @@ ddk:
TEST_OPTIONS = $(ALL_CFLAGS) -DWINVER=0x0666 \
-Wall -pedantic -Wsystem-headers -c $(srcdir)/test.c -o test.o
.PHONY: test
.PHONY: test ddk
test:
@echo "Testing w32api..."
@for lang in c c++ objective-c ; do \
@ -193,7 +193,7 @@ install-headers:
done
install-ddk: install-libraries install-headers
(cd ddk && $(MAKE) install $(FLAGS_TO_PASS) prefix=../$(prefix) exec_prefix=../$(exec_prefix))
cd ddk && $(MAKE) install $(FLAGS_TO_PASS)
# uninstall headers and libraries from a target specified directory
uninstall: uninstall-ddk uninstall-libraries uninstall-headers