Browse files

Leave FLASH_SOCKET_POLICY_SUPPORT undefined by default, but we do nee…

…d FLASH_SOCKET_POLICY defined so user can compile with just FLASH_SOCKET_POLICY_SUPPORT=1...
  • Loading branch information...
1 parent 8c67b0c commit 2464172dc23f96f7ad1d4af0b3cceee1560937a6 @audreyt audreyt committed Sep 8, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 Feersum.xs
View
3 Feersum.xs
@@ -27,6 +27,9 @@
#if 0
# define FLASH_SOCKET_POLICY_SUPPORT
+#endif
+
+#ifndef FLASH_SOCKET_POLICY
# define FLASH_SOCKET_POLICY "<?xml version=\"1.0\"?>\n<!DOCTYPE cross-domain-policy SYSTEM \"/xml/dtds/cross-domain-policy.dtd\">\n<cross-domain-policy>\n<site-control permitted-cross-domain-policies=\"master-only\"/>\n<allow-access-from domain=\"*\" to-ports=\"*\" secure=\"false\"/>\n</cross-domain-policy>\n"
#endif

1 comment on commit 2464172

@audreyt
Collaborator

@stash This is for making "perl Makefile.PL OPTIMIZE=-DFLASH_SOCKET_POLICY_SUPPORT" easier, but doesn't really warrant a new release by itself. Thanks for getting 1.400 out to CPAN! :-)

Please sign in to comment.