Skip to content

Commit

Permalink
Added copyright string to ares_version.h and make use of it in other …
Browse files Browse the repository at this point in the history
…files.
  • Loading branch information
gknauf committed Aug 8, 2010
1 parent e6b38cd commit 5e7a4dc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile.netware
Expand Up @@ -20,7 +20,7 @@ endif
TARGETS = adig.nlm ahost.nlm acountry.nlm
LTARGET = libcares.$(LIBEXT)
VERSION = $(LIBCARES_VERSION)
COPYR = Copyright (C) 1996 - 2010, Daniel Stenberg, <daniel@haxx.se>
COPYR = $(LIBCARES_COPYRIGHT_STR)
DESCR = cURL $(subst .def,,$(notdir $@)) $(LIBCARES_VERSION_STR) - http://curl.haxx.se
MTSAFE = YES
STACK = 64000
Expand Down
3 changes: 3 additions & 0 deletions ares_version.h
Expand Up @@ -2,6 +2,9 @@
#ifndef ARES__VERSION_H
#define ARES__VERSION_H

/* This is the global package copyright */
#define ARES_COPYRIGHT "2004 - 2010 Daniel Stenberg, <daniel@haxx.se>."

#define ARES_VERSION_MAJOR 1
#define ARES_VERSION_MINOR 7
#define ARES_VERSION_PATCH 4
Expand Down
2 changes: 1 addition & 1 deletion cares.rc
Expand Up @@ -53,7 +53,7 @@ BEGIN
#endif
VALUE "ProductName", "The c-ares library\0"
VALUE "ProductVersion", ARES_VERSION_STR "\0"
VALUE "LegalCopyright", "� 2004 - 2009 Daniel Stenberg, <daniel@haxx.se>.\0"
VALUE "LegalCopyright", "� " ARES_COPYRIGHT "\0"
VALUE "License", "http://c-ares.haxx.se/license.html\0"
END
END
Expand Down

0 comments on commit 5e7a4dc

Please sign in to comment.